Skip to content

ceph: misc fix for fscrypt

[email protected] ceph-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 4 repliesIn review
  2. v36 patches 5 repliesSuperseded
  3. v27 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch1 replySuperseded

Changes in v4 from the cover letter

- Remove the snapshot name support patches and will leave this to Luis.
- For the first commit to fail the request one, it's hasty to skip the corrupt dentries and risky, will improve this later in future. For now will fail it directly and propogate the errno to user space.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ceph: fail the request when failing to decode dentry namesfs/ceph/dir.c fs/ceph/inode.c fs/ceph/mds_client.c+11 -91 reply
2/2ceph: do not dencrypt the dentry name twice for readdirfs/ceph/crypto.h fs/ceph/dir.c fs/ceph/inode.c +1 more+63 -353 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJeff Layton
1/2R-b
2/2

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

Read the v4 thread

Cover letter [PATCH v4 0/2] ceph: misc fix for fscrypt

From: Xiubo Li <[email protected]>

This patch series is base on the 'wip-fscrypt' branch in ceph-client.

V4:
- Remove the snapshot name support patches and will leave this to Luis.
- For the first commit to fail the request one, it's hasty to skip the corrupt dentries and risky, will improve this later in future. For now will fail it directly and propogate the errno to user space.

V3:
- Add more detail comments in the commit comments and code comments.
- Fix some bugs.
- Improved the patches.
- Remove the already merged patch.

V2:
- Fix several bugs, such as for the long snap name encrypt/dencrypt
- Skip double dencypting dentry names for readdir

Xiubo Li (2):
ceph: fail the request when failing to decode dentry names
ceph: do not dencrypt the dentry name twice for readdir

 fs/ceph/crypto.h     |  8 +++++
 fs/ceph/dir.c        | 71 ++++++++++++++++++++++++--------------------
 fs/ceph/inode.c      | 20 +++++++++++--
 fs/ceph/mds_client.c |  2 +-
 fs/ceph/mds_client.h |  1 +
 5 files changed, 66 insertions(+), 36 deletions(-)
Signature · 1 line
2.27.0