]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: race condition in image watcher notification callback
authorJason Dillaman <dillaman@redhat.com>
Tue, 10 Mar 2020 17:31:34 +0000 (13:31 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 10 Mar 2020 23:23:02 +0000 (19:23 -0400)
commit67fe2e5b149cba637eb266562a28aea8f52be254
tree2944c708c8db640ca3dceb9e461ddcdcacef855a
parent6a232004554477942b8123e96186378958b9156a
librbd: race condition in image watcher notification callback

If a refresh is in-progress when a header update notification is
received, the notification was previously incorrectly dropped.
This prevented rbd-mirror's snapshot-based mirroring replayer from
detecting updates in some cases.

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