mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ceph: support cross-quota-tree renames
@ 2020-04-07 10:30 Luis Henriques
  2020-04-07 10:30 ` [PATCH v2 1/2] ceph: normalize 'delta' parameter usage in check_quota_exceeded Luis Henriques
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Luis Henriques @ 2020-04-07 10:30 UTC (permalink / raw)
  To: Jeff Layton, Sage Weil, Ilya Dryomov, Gregory Farnum, Zheng Yan
  Cc: Frank Schilder, ceph-devel, linux-kernel, Luis Henriques

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(-)


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

end of thread, other threads:[~2020-04-08 14:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07 10:30 [PATCH v2 0/2] ceph: support cross-quota-tree renames Luis Henriques
2020-04-07 10:30 ` [PATCH v2 1/2] ceph: normalize 'delta' parameter usage in check_quota_exceeded Luis Henriques
2020-04-07 10:30 ` [PATCH v2 2/2] ceph: allow rename operation under different quota realms Luis Henriques
2020-04-07 22:57   ` Jeff Layton
2020-04-08  3:10     ` Yan, Zheng
2020-04-08 14:31 ` [PATCH v2 0/2] ceph: support cross-quota-tree renames Jeff Layton

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

all inboxes | Powered by JetHome®