]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: watcher should internally track blacklisted state
authorJason Dillaman <dillaman@redhat.com>
Thu, 6 Sep 2018 13:44:59 +0000 (09:44 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Sep 2018 18:52:48 +0000 (14:52 -0400)
commit9ea94f284061849e452dd61c8f89ecca18642b0d
tree6861b9eaf3ead2c460190bb126bcac4f033de88d
parent23b7447f6be87a14f84664f29431d2fdd2af4512
librbd: watcher should internally track blacklisted state

Since it will periodically attempt to re-acquire the watch,
it will know when the RADOS client has been blacklisted and
when the blacklist has been removed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/Watcher.cc
src/librbd/Watcher.h
src/test/librbd/mock/MockImageWatcher.h
src/test/librbd/test_mock_Watcher.cc