mbox series

[v3,0/6] ceph: convert to netfs helper library

Message ID 20210223130629.249546-1-jlayton@kernel.org (mailing list archive)
Headers show
Series ceph: convert to netfs helper library | expand

Message

Jeff Layton Feb. 23, 2021, 1:06 p.m. UTC
This is the third posting of this patchset. The main differences between
this one and the last are some bugfixes, and cleanups:

- rebase onto David's latest fscache-netfs-lib set
- unify the netfs_read_request_ops into one struct
- fix inline_data handling in write_begin
- remove the now-unneeded i_fscache_gen field from ceph_inode_info
- rename gfp_flags to gfp in releasepage
- pass appropriate was_async flag to netfs_subreq_terminated

This set is currently sitting in the ceph-client/testing branch, so
it should get good testing coverage over the next few weeks via in
the teuthology lab.

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  | 541 +++++++++++++++++++-----------------------------
 fs/ceph/cache.c | 125 -----------
 fs/ceph/cache.h | 101 +++------
 fs/ceph/caps.c  |  10 +-
 fs/ceph/inode.c |   1 +
 fs/ceph/super.h |   2 +-
 7 files changed, 242 insertions(+), 539 deletions(-)

Comments

Xiubo Li Feb. 24, 2021, 11:05 a.m. UTC | #1
On 2021/2/23 21:06, Jeff Layton wrote:
> This is the third posting of this patchset. The main differences between
> this one and the last are some bugfixes, and cleanups:
>
> - rebase onto David's latest fscache-netfs-lib set
> - unify the netfs_read_request_ops into one struct
> - fix inline_data handling in write_begin
> - remove the now-unneeded i_fscache_gen field from ceph_inode_info
> - rename gfp_flags to gfp in releasepage
> - pass appropriate was_async flag to netfs_subreq_terminated
>
> This set is currently sitting in the ceph-client/testing branch, so
> it should get good testing coverage over the next few weeks via in
> the teuthology lab.
>
> 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  | 541 +++++++++++++++++++-----------------------------
>   fs/ceph/cache.c | 125 -----------
>   fs/ceph/cache.h | 101 +++------
>   fs/ceph/caps.c  |  10 +-
>   fs/ceph/inode.c |   1 +
>   fs/ceph/super.h |   2 +-
>   7 files changed, 242 insertions(+), 539 deletions(-)
>
This series LGTM.

Reviewed-by: Xiubo Li <xiubli@redhat.com>