Skip to content

ceph: implement later versions of MClientRequest headers

Jeff Layton ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ceph: don't reach into request header for readdir infofs/ceph/inode.c+2 -30 replies
2/4ceph: take a cred reference instead of tracking individual uid/gidfs/ceph/mds_client.c fs/ceph/mds_client.h+5 -60 replies
3/4ceph: clean up argument lists to __prepare_send_request and __send_requestfs/ceph/mds_client.c+9 -90 replies
4/4ceph: implement updated ceph_mds_request_head structurefs/ceph/mds_client.c include/linux/ceph/ceph_fs.h+90 -141 reply

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchXiubo Li
SeriesR-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] ceph: implement later versions of MClientRequest headers

A few years ago, userland ceph added support for changing the birthtime via setattr, as well as support for sending supplementary groups in a MDS request.

This patchset updates the kclient to use the newer protocol. The necessary structures are extended and the code is changed to support the newer formats when it detects that the MDS will support it.

Supplementary groups will now be transmitted in the request, but for now the setting of btime is not implemented.

This is a prerequisite step to adding support for the new "alternate name" field that Xiubo has been working on, which we'll need for proper fscrypt support.

Jeff Layton (4):
ceph: don't reach into request header for readdir info
ceph: take a cred reference instead of tracking individual uid/gid
ceph: clean up argument lists to __prepare_send_request and
__send_request
ceph: implement updated ceph_mds_request_head structure

 fs/ceph/inode.c              |  5 +-
 fs/ceph/mds_client.c         | 98 ++++++++++++++++++++++++++----------
 fs/ceph/mds_client.h         |  3 +-
 include/linux/ceph/ceph_fs.h | 32 +++++++++++-
 4 files changed, 106 insertions(+), 32 deletions(-)
Signature · 1 line
2.29.2