]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/vol: include group name in subvolume's pool namespace name
authorRishabh Dave <ridave@redhat.com>
Thu, 3 Apr 2025 18:27:15 +0000 (23:57 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 26 Jun 2025 08:31:53 +0000 (14:01 +0530)
commitd25695a5a6b5a360d308de207d402bdf109fade0
tree65302569da1c49a1774fb53a6361aa79460c8115
parente1d03c9cfa791088d7feb5fe0f752e06ef457f1d
mgr/vol: include group name in subvolume's pool namespace name

Include subvolume group name along with subvolume name in the pool
namepsace string for the subvolume. IOW, include it in the string that
serves as the value of the extended attribute
"ceph.dir.layout.pool_namespace", which is set for a subvolume during
its creation.

Right now, due to not including it, two different subvolumes with same
name but located in different subvolume groups undesirably end up in the
same namespace.

Fixes: https://tracker.ceph.com/issues/70668
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 45f8abab8f467043823241233664789f127a7c6b)
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py