]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.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)
committerVenky Shankar <vshankar@redhat.com>
Wed, 8 Oct 2025 09:07:26 +0000 (09:07 +0000)
commite7a298bd1e085b84f6cb71e753b5f71b6e7cef3a
tree463cb157eeef6bbfb010d45f7a265cfda750015d
parent8de54c220e80ace6c4aeefa58461358d2814dd24
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>
(cherry picked from commit bbacfdae1a2e7eb60f91b75852bcd1096b6e3c84)
(cherry picked from commit 2c9a84a8c949c7ace5d98780819f40ff2c19f544)
src/pybind/mgr/volumes/fs/async_cloner.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py