]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: fix potential race between image sync and shut down
authorJason Dillaman <dillaman@redhat.com>
Fri, 4 May 2018 13:24:43 +0000 (09:24 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 10 May 2018 11:44:33 +0000 (07:44 -0400)
commita189ab9c5bfb5930330ffd20d83b04b18b333b46
treec3543fd945c11a6e16afc218ab40411dafe91382
parent43bbf99f9f9a07b332a9ed269177b9310bd4b7a6
rbd-mirror: fix potential race between image sync and shut down

Fixes: http://tracker.ceph.com/issues/24008
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4f2dbcefc5e3547926b8d34135a808266bd059b8)
src/tools/rbd_mirror/ImageSync.cc
src/tools/rbd_mirror/InstanceWatcher.cc
src/tools/rbd_mirror/InstanceWatcher.h