]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: support deleting image by id instead of name 10484/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 28 Jul 2016 20:35:48 +0000 (16:35 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 28 Jul 2016 20:36:59 +0000 (16:36 -0400)
commit87b32d15914207f61595c1c943817d983faceacd
treef4d55e3af6f40dd25cde5c2327fd24443d71de18
parent25203a8a9d59ff025d223ec1afaeb14946d54993
librbd: support deleting image by id instead of name

The rbd-mirror daemon will use this API to delete images instead
of attempting to use the local image name.

Fixes: http://tracker.ceph.com/issues/16227
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc
src/librbd/internal.h
src/librbd/librbd.cc
src/test/librbd/image/test_mock_RefreshRequest.cc
src/test/librbd/test_internal.cc
src/test/rbd_mirror/test_ImageDeleter.cc
src/tools/rbd_mirror/ImageDeleter.cc