]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: disable automatic refresh of image upon lock message 9008/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 May 2016 14:33:50 +0000 (10:33 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 10 May 2016 16:49:17 +0000 (12:49 -0400)
commit451246df64890e39205d20d40eb5676893a7e1db
tree04f660bee02b621188c0a3630f0a0d6b0bf3ded0
parent9e058fc852090ecb1b3a8daa3e0ee9df9d5eba3c
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>
(cherry picked from commit ee617a0ca56d752daf62bfffa59219b2c540a428)
src/librbd/WatchNotifyTypes.h