[PATCH 0/6] ceph: convert to new netfs read helpers

Jeff Layton
2021-01-26T13:42:11Z

This patchset converts ceph to use the new netfs readpage, write_begin,
and readahead helpers to handle buffered reads. This is a substantial
reduction in code in ceph, but shouldn't really affect functionality in
any way.

Ilya, if you don't have any objections, I'll plan to let David pull this
series into his tree to be merged with the netfs API patches themselves.
I don't see any conflicts with what's currently in the testing or master
branches. Alternately, we could pull his patches into the ceph master
branch and then put these on top. Let me know what you'd prefer.

Thanks,
Jeff

Jeff Layton (6):
ceph: disable old fscache readpage handling
ceph: rework PageFsCache handling
ceph: fix fscache invalidation
ceph: convert readpage to fscache read helper
ceph: plug write_begin into read helper
ceph: convert ceph_readpages to ceph_readahead

fs/ceph/Kconfig | 1 +
fs/ceph/addr.c | 535 +++++++++++++++++++-----------------------------
fs/ceph/cache.c | 123 -----------
fs/ceph/cache.h | 101 +++------
fs/ceph/caps.c | 10 +-
fs/ceph/inode.c | 1 +
6 files changed, 236 insertions(+), 535 deletions(-)

--
2.29.2