]> 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>
Wed, 23 Jul 2025 13:48:27 +0000 (19:18 +0530)
commit2c9a84a8c949c7ace5d98780819f40ff2c19f544
treec28557b6f26058895eb0bc94a754a8361178a77c
parent453bf53f5cf2c6d52a1726807ad0f6fc2fbc2bbc
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)
src/pybind/mgr/volumes/fs/async_cloner.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py