Re: [PATCH v13 8/8] netfs: Set subrequest->source at alloc before trace emission

From: Paulo Alcantara

Date: Wed Sep 09 2026 - 17:11:32 EST


David Howells <dhowells@xxxxxxxxxx> writes:

> Set subrequest->source in netfs_alloc_subrequest() before we emit the trace
> line indicating we allocated the subrequest. Note that this requires the
> allocation of the subreq in netfs_read_to_pagecache() to be pushed to after
> the decision about what sort of subreq it should be.
>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> cc: Paulo Alcantara <pc@xxxxxxxxxxxxx>
> cc: netfs@xxxxxxxxxxxxxxx
> cc: linux-fsdevel@xxxxxxxxxxxxxxx
> cc: linux-mm@xxxxxxxxx

Reviewed-by: Paulo Alcantara <pc@xxxxxxxxxxxxx>