Skip to content

squid: mds: Return ceph.dir.subvolume vxattr - #65820

Merged
batrick merged 1 commit into
ceph:squidfrom
joscollin:wip-73351-squid
Jul 27, 2026
Merged

batrick merged 1 commit into
ceph:squidfrom
joscollin:wip-73351-squid

Conversation

@joscollin

Copy link
Copy Markdown
Member

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.
@joscollin joscollin added this to the squid milestone Oct 8, 2025
@joscollin joscollin added the cephfs Ceph File System label Oct 8, 2025
@github-actions github-actions Bot added the tests label Oct 8, 2025
@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

2 similar comments
@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@joscollin

Copy link
Copy Markdown
Member Author

@batrick batrick modified the milestones: squid, v19.2.4 Mar 18, 2026
@batrick batrick modified the milestones: v19.2.4, v19.2.5 Apr 22, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026

@neesingh-rh neesingh-rh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@batrick batrick modified the milestones: v19.2.5, v19.2.6 Jul 21, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 21, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-fail Release engineering: failed backport verification audit. labels Jul 21, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 21, 2026
@batrick batrick removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 27, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

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)

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 getfattr

How 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.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 27, 2026
@batrick
batrick merged commit a9c5f67 into ceph:squid Jul 27, 2026
2 of 5 checks passed
@joscollin
joscollin deleted the wip-73351-squid branch July 28, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System needs-qa releng-audit-fail Release engineering: failed backport verification audit. tests wip-jcollin-testing-squid12

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants