]> 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>
Fri, 14 Dec 2018 16:47:15 +0000 (16:47 +0000)
commit6844a52ebbc45a046b4a94909b48bc4fc0c305c7
treebfdce74b9c97ea1211b65a366784bb3cf626314a
parent8ea5ac4933d0d30c1be7720581f7f081a366f6e3
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>
src/librbd/api/Trash.cc
src/test/librbd/test_mirroring.cc