Skip to content

ceph: support cross-quota-tree renames

Luis Henriques ceph-devel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Dropped 'old == new' check in ceph_quota_check_rename() and added back optimization in ceph_rename(), to only check realms if old_dir and new_dir are different.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ceph: normalize 'delta' parameter usage in check_quota_exceededfs/ceph/quota.c+1 -30 replies
2/2ceph: allow rename operation under different quota realmsfs/ceph/dir.c fs/ceph/quota.c fs/ceph/super.h+64 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] ceph: support cross-quota-tree renames

Hi!

The following patches will make the cephfs kernel client behave the same way as the fuse client when doing renames across different quota realms.

Changes since v1:

- Dropped 'old == new' check in ceph_quota_check_rename() and added back optimization in ceph_rename(), to only check realms if old_dir and new_dir are different.

Luis Henriques (2):
ceph: normalize 'delta' parameter usage in check_quota_exceeded
ceph: allow rename operation under different quota realms

 fs/ceph/dir.c   |  9 +++----
 fs/ceph/quota.c | 62 +++++++++++++++++++++++++++++++++++++++++++++----
 fs/ceph/super.h |  3 ++-
 3 files changed, 65 insertions(+), 9 deletions(-)