Re: [PATCH 0/4] ceph: convert to netfs_direct_read_iter for DIO reads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 5/18/22 11:11 PM, Jeff Layton wrote:
This patch series is based on top of David Howells' netfs-lib branch.

I previously sent an RFC set for this back in early April, but David has
revised his netfs-lib branch since then. This converts ceph to use the
new DIO read helper netfs_direct_read_iter instead of using our own
routine.

With this change we ought to be able to rip out a large swath of
ceph_direct_read_write, but I've decided to wait on that until the write
helpers are in place and we can just remove that function wholesale.

David, do you mind carrying these patches in your tree? Given that they
depend on your netfs-lib branch, it's probably simpler to do it that way
rather than have us base the ceph-client master branch on yours. If
conflicts crop up, we can revisit that approach though.

David Howells (1):
   ceph: Use the provided iterator in ceph_netfs_issue_op()

Jeff Layton (3):
   netfs: fix sense of DIO test on short read
   ceph: enhance dout messages in issue_read codepaths
   ceph: switch to netfs_direct_read_iter

  fs/ceph/addr.c | 55 +++++++++++++++++++++++++++++++++-----------------
  fs/ceph/file.c |  3 +--
  fs/netfs/io.c  |  2 +-
  3 files changed, 38 insertions(+), 22 deletions(-)

This series LGTM.

Reviewed-by: Xiubo Li <xiubli@xxxxxxxxxx>





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux