]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: better handling for image watch errors
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 Feb 2015 23:07:03 +0000 (18:07 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 3 Feb 2015 11:36:11 +0000 (06:36 -0500)
commit1b110a5589e8ae7c5393d663669c9ce1c862d83a
tree090036b695efb0b87b043864b395fff70628aac3
parent9e9356b1d8a49ec03d2bc8df5ad08d894c10eabe
librbd: better handling for image watch errors

When the librados watcher fails, librbd will now continuously
attempt to re-register the watch until it succeeds or the image
is closed.

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