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

Paulo Alcantara pc at manguebit.org
Wed Sep 9 14:02:12 PDT 2026


David Howells <dhowells at redhat.com> 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 at redhat.com>
> cc: Paulo Alcantara <pc at manguebit.org>
> cc: netfs at lists.linux.dev
> cc: linux-fsdevel at vger.kernel.org
> cc: linux-mm at kvack.org

Reviewed-by: Paulo Alcantara <pc at manguebit.org>



More information about the linux-afs mailing list