]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: add ceph.dir.subvolume get vxattr 65104/head
authorEdwin Rodriguez <edwin.rodriguez1@ibm.com>
Mon, 18 Aug 2025 20:17:07 +0000 (16:17 -0400)
committerEdwin Rodriguez <edwin.rodriguez1@ibm.com>
Wed, 17 Sep 2025 11:54:29 +0000 (07:54 -0400)
commit51fb4b6abe9daba651150055c7f768d8a6d61d48
tree6dea3cbb2d14bfce8f677ca47721680bc7854927
parentbafdbd6dcab322cf9a20ab38e7e1a0c98191b28c
mds: add ceph.dir.subvolume get vxattr

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>
qa/tasks/cephfs/test_subvolume.py
src/mds/Server.cc
src/mds/Server.h