[RESEND PATCH v3 0/4] fscache,erofs: fscache-based demand-read semantics (fscache part)

From: Jeffle Xu
Date: Thu Feb 17 2022 - 07:02:04 EST


Hi David,

This patchset is from [1], which is all fscache part related, in prep
for the newly introduced on-demand read semantics.

The previous patch 5 [2] from [1] is still under modification according
to the comments from Greg. Thus it is not included in this patchset
yet, and will be sent out later.

Whilst these four patches in this patchset are basically trivial cleanup
codes. I do appreciate if you coud give some hint on this work.

Thanks.

[1] https://lore.kernel.org/all/20220215111335.123528-1-jefflexu@xxxxxxxxxxxxxxxxx/T/
[2] https://lore.kernel.org/all/20220215111335.123528-1-jefflexu@xxxxxxxxxxxxxxxxx/T/#ma8898ba06bf66d815925a32d1d6689d71346e609



Jeffle Xu (4):
fscache: export fscache_end_operation()
fscache: add a method to support on-demand read semantics
cachefiles: extract generic function for daemon methods
cachefiles: detect backing file size in on-demand read mode

Documentation/filesystems/netfs_library.rst | 17 +++++
fs/cachefiles/Kconfig | 13 ++++
fs/cachefiles/daemon.c | 70 +++++++++++++--------
fs/cachefiles/internal.h | 1 +
fs/cachefiles/namei.c | 60 +++++++++++++++++-
fs/fscache/internal.h | 11 ----
fs/nfs/fscache.c | 8 ---
include/linux/fscache.h | 39 ++++++++++++
include/linux/netfs.h | 4 ++
9 files changed, 178 insertions(+), 45 deletions(-)

--
2.27.0