Actions
Bug #44791
closedfs/ceph: support cross-quota-tree renames
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
In ceph_rename, we have this, which is probably what you're hitting: /* don't allow cross-quota renames */ if ((old_dir != new_dir) && (!ceph_quota_is_same_realm(old_dir, new_dir))) return -EXDEV;
The userspace client only returns EXDEV (or EDQUOT for renaming directories) when the rstats on the moving file/tree would put the target directory over its quota, which seems like a better behavior.
Files
Actions