]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: schedule header refresh after watch error 3456/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 21 Jan 2015 22:23:00 +0000 (17:23 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 23 Jan 2015 15:19:04 +0000 (10:19 -0500)
commit55dfe032b84f98a8ce25b8fe3a5cf1eb648ac83e
tree5dc9576a05c8ab62b706b5125d5acd868a8c907d
parent9dc89b235320026dd9748d60da278f4a184ae5ef
librbd: schedule header refresh after watch error

If a librados watch error occurs, it is possible that one
or more events were missed.  Therefore, flag the header as
dirty so that it will be reloaded after the next operation.

Fixes: #4092
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageWatcher.cc