Skip to content

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

Open
joscollin wants to merge 1 commit intoceph:squidfrom
joscollin:wip-73351-squid
Open

squid: mds: Return ceph.dir.subvolume vxattr#65820
joscollin wants to merge 1 commit intoceph:squidfrom
joscollin:wip-73351-squid

Conversation

@joscollin
Copy link
Member

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

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 <edwin.rodriguez1@ibm.com>
(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
Member Author

jenkins test make check

2 similar comments
@joscollin
Copy link
Member Author

jenkins test make check

@joscollin
Copy link
Member Author

jenkins test make check

@joscollin
Copy link
Member Author

This PR is under test in https://tracker.ceph.com/issues/73568.

@batrick batrick modified the milestones: squid, v19.2.4 Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants