]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: disable image mirroring when moving to trash
authorMykola Golub <mgolub@suse.com>
Wed, 12 Dec 2018 15:42:49 +0000 (15:42 +0000)
committerMykola Golub <mgolub@suse.com>
Thu, 16 May 2019 12:44:53 +0000 (15:44 +0300)
commitf2e51d77e4dd2efa5befaa248fce52642c71f252
tree2a00e9394ca15af6f5ebb8cd617c5a2263bcc734
parentf13315d0d23ca9175ecf1a1df045887614e197f1
librbd: disable image mirroring when moving to trash

And enable when restoring if mirror pool mode set.

Fixes: https://tracker.ceph.com/issues/37596
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 6844a52ebbc45a046b4a94909b48bc4fc0c305c7)

Conflicts:
src/librbd/api/Trash.cc (the code is in src/librbd/internal.cc)
src/librbd/internal.cc
src/test/librbd/test_mirroring.cc