]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: maintenance ops now send asynchronous requests
authorJason Dillaman <dillaman@redhat.com>
Fri, 11 Mar 2016 00:13:07 +0000 (19:13 -0500)
committerJason Dillaman <dillaman@redhat.com>
Sun, 13 Mar 2016 03:40:16 +0000 (22:40 -0500)
commitf67bcc05bd266cd06864d2ebb52e9e17cb1256f8
treed12121c64a889351bf453be6ef15188d84365e9b
parenta4b92434b1b994ad53d82a1ac4404cd05450933d
librbd: maintenance ops now send asynchronous requests

The RBD mirror daemon will need to request the creation/removal
of snapshots from a remote image.  These operations need to be
performed asynchronously as opposed to the current synchronous
style of the librbd API.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ExclusiveLock.cc
src/librbd/ImageWatcher.cc
src/librbd/ImageWatcher.h
src/librbd/Operations.cc
src/librbd/Operations.h
src/test/librbd/test_ImageWatcher.cc