CEPH filesystem development
 help / color / mirror / Atom feed
* [PATCH v4 0/5] ceph/libceph: add support for sparse reads to msgr2 crc codepath
@ 2022-03-21 18:26 Jeff Layton
  2022-03-21 18:26 ` [PATCH v4 1/5] libceph: add spinlock around osd->o_requests Jeff Layton
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Jeff Layton @ 2022-03-21 18:26 UTC (permalink / raw)
  To: idryomov, xiubli; +Cc: ceph-devel

This is a revised version of the sparse read code I posted a week or so
ago. Sparse read support is required for fscrypt integration work, but
may be useful on its own.

The main differences from the v3 set are a couple of small bugfixes, and
the addition of a new "sparseread" mount option to force the cephfs
client to use sparse reads. I also renamed the sparse_ext_len field to
be sparse_ext_cnt (as suggested by Xiubo).

Ilya, at this point I'm mostly looking for feedback from you. Does this
approach seem sound? If so, I'll plan to work on implementing the v2-secure
and v1 codepaths next.

These patches are currently available in the 'ceph-sparse-read-v4' tag
in my kernel tree here:

    https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git/

Jeff Layton (5):
  libceph: add spinlock around osd->o_requests
  libceph: define struct ceph_sparse_extent and add some helpers
  libceph: add sparse read support to msgr2 crc state machine
  libceph: add sparse read support to OSD client
  ceph: add new mount option to enable sparse reads

 fs/ceph/addr.c                  |  18 ++-
 fs/ceph/file.c                  |  51 ++++++-
 fs/ceph/super.c                 |  16 +-
 fs/ceph/super.h                 |   8 +
 include/linux/ceph/messenger.h  |  29 ++++
 include/linux/ceph/osd_client.h |  71 ++++++++-
 net/ceph/messenger.c            |   1 +
 net/ceph/messenger_v2.c         | 170 +++++++++++++++++++--
 net/ceph/osd_client.c           | 255 +++++++++++++++++++++++++++++++-
 9 files changed, 593 insertions(+), 26 deletions(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-22 14:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-21 18:26 [PATCH v4 0/5] ceph/libceph: add support for sparse reads to msgr2 crc codepath Jeff Layton
2022-03-21 18:26 ` [PATCH v4 1/5] libceph: add spinlock around osd->o_requests Jeff Layton
2022-03-21 18:26 ` [PATCH v4 2/5] libceph: define struct ceph_sparse_extent and add some helpers Jeff Layton
2022-03-21 18:26 ` [PATCH v4 3/5] libceph: add sparse read support to msgr2 crc state machine Jeff Layton
2022-03-21 18:26 ` [PATCH v4 4/5] libceph: add sparse read support to OSD client Jeff Layton
2022-03-21 18:26 ` [PATCH v4 5/5] ceph: add new mount option to enable sparse reads Jeff Layton
2022-03-22  7:56 ` [PATCH v4 0/5] ceph/libceph: add support for sparse reads to msgr2 crc codepath Xiubo Li
2022-03-22 14:20 ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox