]> 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:56:30 +0000 (19:26 +0530)
commite0d544035649e59e5f023cdc8fe6bad22bc530ba
tree702db6371911f081f0b4762a00f46d32c4f0cd8a
parent481664ceb3e7472dbd4072faf589be24650ce044
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)

Conflicts:
src/pybind/mgr/volumes/fs/async_cloner.py
- open_clone_subvol_pair_in_vol() is not present on Squid branch leading
  to this conflict.
src/pybind/mgr/volumes/fs/async_cloner.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py