]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: disable automatic refresh of image upon lock message 8877/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 May 2016 14:33:50 +0000 (10:33 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 2 May 2016 14:35:59 +0000 (10:35 -0400)
commitee617a0ca56d752daf62bfffa59219b2c540a428
tree30365f822e0e20bbf066e83d5bcedcc2efbb90d4
parent608e09851396a9eeb7cf6dc1c7f687ef7a033601
librbd: disable automatic refresh of image upon lock message

There is no need to refresh the image upon request/release/acquire
of the exclusive lock.  The next IO or maintenance op will kick off
the refresh.  This is interfering with the refresh state machine
unit test case (since two concurrent refreshes shouldn't be possible).

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