]> 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)
committerPrashant D <pdhange@redhat.com>
Wed, 23 May 2018 13:25:15 +0000 (09:25 -0400)
commit07f76e6dc5b927f07b75ddb19038a799dc8d69c3
tree268db67ef95f719d615da59d5055959041da4ae6
parent67ea1295735701439d5101554a476fce254da5a7
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