[PATCH v5 1/2] fscache,cachefiles: add prepare_ondemand_read() callback

Gao Xiang xiang at kernel.org
Sat Nov 26 00:01:21 AEDT 2022


Hi David,

On Fri, Nov 25, 2022 at 11:57:58AM +0000, David Howells wrote:
> Jingbo Xu <jefflexu at linux.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 at kernel.org>
> > Signed-off-by: Jingbo Xu <jefflexu at linux.alibaba.com>
> 
> Acked-by: David Howells <dhowells at redhat.com>

Thanks!  I will apply them for -next, and soon Jingbo will
submit large folios support for erofs iomap/fscache modes.

Thank all again,
Gao Xiang



More information about the Linux-erofs mailing list