]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: attempt to restore deleted image from trash on known failures
authorJason Dillaman <dillaman@redhat.com>
Wed, 20 Feb 2019 14:19:01 +0000 (09:19 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 20 Feb 2019 21:47:07 +0000 (16:47 -0500)
commit086a17f99abfd8977c546c3a748b75cbb87b12a1
tree727223f3cbe0edd478b0ea53ee8df774fad68bc1
parent554521d767c2162399086e2338079a4c4b78ca5f
librbd: attempt to restore deleted image from trash on known failures

If the image has watchers, snapshots, or group links, restore the image
from the trash back to the image directory since data removal hasn't yet
started.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/api/Image.cc