]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: optional 'force' parameter for request lock payload
authorJason Dillaman <dillaman@redhat.com>
Tue, 22 Mar 2016 00:12:55 +0000 (20:12 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 29 Mar 2016 19:12:28 +0000 (15:12 -0400)
commit38cf63d55c2e8de0efd63ea0acf4c61907af6a71
tree2680d513b407637e5000468b5e3ab495f29bbe9c
parent2afb2c31ed9e18d07decd40b8265804bfbdb62c5
librbd: optional 'force' parameter for request lock payload

This will be used when force promoting an image to primary -- when
rbd-mirror receives the forced request, it will immediately abort
playback.

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