]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: don't reregister asok hook in process entry thread
authorMykola Golub <mgolub@suse.com>
Wed, 16 May 2018 07:34:50 +0000 (10:34 +0300)
committerJason Dillaman <dillaman@redhat.com>
Wed, 16 May 2018 18:07:28 +0000 (14:07 -0400)
commit7f111cdfd3152a8ce483edb31a1342a3900b532b
tree66c27595c55497c670d8cf8f02c862d92ca1799c
parent80e5097887df4ca8978de7da60f0214c0f8538ab
rbd-mirror: don't reregister asok hook in process entry thread

It might get stuck if the asok is busy executing a command.
Instead kick status update, which will call reregister on finish.

Fixes: http://tracker.ceph.com/issues/24141
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 43e50bd582ba2d1b66f55d7f8d2b7f030da99ee6)
src/tools/rbd_mirror/ImageReplayer.cc