]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/vol: show clone source info in "subvolume info" cmd output
authorRishabh Dave <ridave@redhat.com>
Fri, 9 May 2025 16:40:47 +0000 (22:10 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 23 Jul 2025 15:30:01 +0000 (21:00 +0530)
commit0fd6851f637ab285ece9c1ca5909fee979efe0ab
treee75602290930ded9319f7fb6d19dd088fe809392
parente0d544035649e59e5f023cdc8fe6bad22bc530ba
mgr/vol: show clone source info in "subvolume info" cmd output

Include clone source information in output of "ceph fs subvolume info"
command so that users can access this information conveniently.

Fixes: https://tracker.ceph.com/issues/71266
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 0ef6da69d993ca58270010e0b458bad0dff29034)

Conflicts:
- src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py
  Main branch version of info() method had code to fetch value of xattr
  ceph.dir.normalization and ceph.dir.casesensitive. But that isn't the
  case in Squid branch's info() method leading to conflict.
- src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py
  Method get_clone_failure() in main branch is located in
  subvolume_v1.py but in squid it is located in async_cloner.py
src/pybind/mgr/volumes/fs/async_cloner.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py