Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
9223372036854775807
Description
When rename() has a target directory with different project ID from the source directory, the kernel currently returns -EXDEV, which forces userspace to perform a full data copy of the file. This is slow when the files are large, and does not provide any security benefit for the user or admin in the end.
It would be better to change the project ID to that of the target directory, and assign the quota for the file to the new project ID, the same as is done with chown() and chgrp() for UID and GID quotas.
Attachments
Issue Links
- is related to
-
LU-11303 slow chgrp as user when quotas are enabled
- Resolved
-
LU-15294 runtests: general protection fault: llog_cat_prep_log up_write
- Resolved
-
LU-15667 Interop sanity-quota test_52: FAIL: rename should fail
- Resolved
-
LU-17016 rename across projects incorrectly checks source parent directory
- Resolved
- is related to
-
LU-11303 slow chgrp as user when quotas are enabled
- Resolved