Repository navigation
squid: mds: Return ceph.dir.subvolume vxattr - #65820
Conversation
This introduces handling for the "ceph.dir.subvolume" virtual xattr on directories. - Returns ASCII "1" when the directory is a subvolume root, "0" otherwise. QA: - Extend CephFS subvolume tests to validate vxattr retrieval and behavior around setting/removal. Fixes: https://tracker.ceph.com/issues/72556 Signed-off-by: Edwin Rodriguez <[email protected]> (cherry picked from commit 51fb4b6) Conflicts: qa/tasks/cephfs/test_subvolume.py - resolved conflicts of ceph/ceph@3d5dd12 not backported to squid yet.
|
jenkins test make check |
2 similar comments
|
jenkins test make check |
|
jenkins test make check |
|
This PR is under test in https://tracker.ceph.com/issues/73568. |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #65820 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| ff198f4 mds: add ceph.dir.subvolume get vxattr | PR #65104 | 51fb4b6 mds: add ceph.dir.subvolume get vxattr |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport ff198f4 (cherry-pick of 51fb4b6)
Affected File(s)
qa/tasks/cephfs/test_subvolume.py
Range Diff
Click to expand
--- Original (51fb4b6a)
+++ Backport (ff198f42)
@@ -8,3 +8,9 @@
Fixes: https://tracker.ceph.com/issues/72556
Signed-off-by: Edwin Rodriguez <[email protected]>
+(cherry picked from commit 51fb4b6abe9daba651150055c7f768d8a6d61d48)
+
+ Conflicts:
+ qa/tasks/cephfs/test_subvolume.py
+ - resolved conflicts of ceph@3d5dd12
+ not backported to squid yet.
================================================================================
RANGE DIFF
================================================================================
1: 51fb4b6abe9 ! 1: ff198f42f1a mds: add ceph.dir.subvolume get vxattr
@@ Commit message
Fixes: https://tracker.ceph.com/issues/72556
Signed-off-by: Edwin Rodriguez <[email protected]>
+ (cherry picked from commit 51fb4b6abe9daba651150055c7f768d8a6d61d48)
+
+ Conflicts:
+ qa/tasks/cephfs/test_subvolume.py
+ - resolved conflicts of ceph@3d5dd12
+ not backported to squid yet.
## qa/tasks/cephfs/test_subvolume.py ##
@@ qa/tasks/cephfs/test_subvolume.py: class TestSubvolume(CephFSTestCase):
- # cleanup
- self.mount_a.run_shell(['rm', '-rf', 'group/subvol3'])
+ self.mount_a.run_shell(['rmdir', 'group/subvol2/dir/.snap/s2'])
+
-+
+ def test_subvolume_vxattr_retrieval(self):
+ """
+ To verify that the ceph.dir.subvolume vxattr can be acquired using getfattrHow to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
backport tracker: https://tracker.ceph.com/issues/73351
backport of #65104
parent tracker: https://tracker.ceph.com/issues/72556
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh