Skip to content

libceph: add support for sparse reads

Jeff Layton ceph-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest7 patches 0 repliesNew
  2. v45 patches 2 repliesSuperseded
  3. v35 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC5 patches0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7libceph: add spinlock around osd->o_requestsinclude/linux/ceph/osd_client.h net/ceph/osd_client.c+12 -10 replies
2/7libceph: define struct ceph_sparse_extent and add some helpersinclude/linux/ceph/osd_client.h net/ceph/osd_client.c+43 -10 replies
3/7libceph: add sparse read support to msgr2 crc state machineinclude/linux/ceph/messenger.h net/ceph/messenger.c net/ceph/messenger_v2.c+190 -90 replies
4/7libceph: add sparse read support to OSD clientinclude/linux/ceph/osd_client.h net/ceph/osd_client.c+276 -40 replies
5/7libceph: support sparse reads on msgr2 secure codepathnet/ceph/messenger_v2.c+110 -100 replies
6/7libceph: add sparse read support to msgr1include/linux/ceph/messenger.h net/ceph/messenger_v1.c+94 -80 replies
7/7ceph: add new mount option to enable sparse readsfs/ceph/addr.c fs/ceph/file.c fs/ceph/super.c +1 more+82 -110 replies

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchXiubo Li
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7
6/7
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/7] libceph: add support for sparse reads

Yet another revised version of the sparse read patches. The first 4 and last patch are essentially the same as the ones I posted earlier this week, modulo a couple of small changes. Patches 5 and 6 add support for sparse reads to ms_mode=secure and ms_mode=legacy mounts.

This series is necessary for the fscrypt integration work. In fact, I was able to run the fscrypt series I posted earlier this week on top of this and it worked just fine.

Again, I'm mostly looking for feedback from Ilya at this point, but I'll probably go ahead and merge this into the testing branch later today (unless anyone pipes up with objections).

Jeff Layton (7):
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
libceph: support sparse reads on msgr2 secure codepath
libceph: add sparse read support to msgr1
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  |  33 ++++
 include/linux/ceph/osd_client.h |  71 +++++++-
 net/ceph/messenger.c            |   1 +
 net/ceph/messenger_v1.c         |  98 ++++++++++-
 net/ceph/messenger_v2.c         | 289 +++++++++++++++++++++++++++++---
 net/ceph/osd_client.c           | 266 ++++++++++++++++++++++++++++-
 10 files changed, 807 insertions(+), 44 deletions(-)
Signature · 1 line
2.35.1