[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2386961.1669377478@warthog.procyon.org.uk>
Date: Fri, 25 Nov 2022 11:57:58 +0000
From: David Howells <dhowells@...hat.com>
To: Jingbo Xu <jefflexu@...ux.alibaba.com>
Cc: dhowells@...hat.com, jlayton@...nel.org, xiang@...nel.org,
chao@...nel.org, linux-cachefs@...hat.com,
linux-erofs@...ts.ozlabs.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 1/2] fscache,cachefiles: add prepare_ondemand_read() callback
Jingbo Xu <jefflexu@...ux.alibaba.com> wrote:
> Add prepare_ondemand_read() callback dedicated for the on-demand read
> scenario, so that callers from this scenario can be decoupled from
> netfs_io_subrequest.
>
> The original cachefiles_prepare_read() is now refactored to a generic
> routine accepting a parameter list instead of netfs_io_subrequest.
> There's no logic change, except that the debug id of subrequest and
> request is removed from trace_cachefiles_prep_read().
>
> Reviewed-by: Jeff Layton <jlayton@...nel.org>
> Signed-off-by: Jingbo Xu <jefflexu@...ux.alibaba.com>
Acked-by: David Howells <dhowells@...hat.com>
Powered by blists - more mailing lists