[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200407103020.22588-1-lhenriques@suse.com>
Date: Tue, 7 Apr 2020 11:30:18 +0100
From: Luis Henriques <lhenriques@...e.com>
To: Jeff Layton <jlayton@...nel.org>, Sage Weil <sage@...hat.com>,
Ilya Dryomov <idryomov@...il.com>,
Gregory Farnum <gfarnum@...hat.com>,
Zheng Yan <zyan@...hat.com>
Cc: Frank Schilder <frans@....dk>, ceph-devel@...r.kernel.org,
linux-kernel@...r.kernel.org, Luis Henriques <lhenriques@...e.com>
Subject: [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(-)
Powered by blists - more mailing lists