]> 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>
Thu, 4 Oct 2018 11:58:02 +0000 (07:58 -0400)
commit7d9218ee9b02b899744364ac69c6b8bec47729db
tree776358c19365e5f764042437901f1009be3dccbb
parent38c8b912b9ea314e1a53af6c9f6a464f40ac3bd1
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>
(cherry picked from commit 9ea94f284061849e452dd61c8f89ecca18642b0d)

Conflicts:
src/librbd/Watcher.cc: trivial resolution
src/librbd/Watcher.cc
src/librbd/Watcher.h
src/test/librbd/mock/MockImageWatcher.h
src/test/librbd/test_mock_Watcher.cc