]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/vol: keep clone source info even after cloning is finished
authorRishabh Dave <ridave@redhat.com>
Thu, 8 May 2025 15:05:39 +0000 (20:35 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 12 Jun 2025 13:22:31 +0000 (18:52 +0530)
commitbbacfdae1a2e7eb60f91b75852bcd1096b6e3c84
treeef263d6854a9657cdb90a46e8b34739c695339da
parent452585ea6a9518c2583e5611fd376aa9e5f39e4b
mgr/vol: keep clone source info even after cloning is finished

Instead of removing the information regarding source of a cloned
subvolume from the .meta file after the cloning has finished, keep it as
it is as the user may find it useful.

Fixes: https://tracker.ceph.com/issues/71266
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/pybind/mgr/volumes/fs/async_cloner.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py