]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/vol: add comments in async_cloner
authorRishabh Dave <ridave@redhat.com>
Sun, 19 Nov 2023 11:42:51 +0000 (17:12 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 22 Mar 2024 16:57:35 +0000 (22:27 +0530)
commit42028e4f9e61a8ae208e4e271ce323fd102c97f2
tree76d17578c014e7b76eaa961d7816405fed0c1728
parent719e83baed793ef515641c70d8bea7b236d98e39
mgr/vol: add comments in async_cloner

It's not obvious where the clone creation is performed. It's especially
obfuscated because we call the function/method for cloning indirectly.
Therefore, add comments where necessary and mark it with heavy rating.

Same goes for all other "subvolume snapshot clone" operations.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 2e0b4ae3afc917b7ce0b55879310b41017f0f627)
src/pybind/mgr/volumes/fs/async_cloner.py