]> git-server-git.apps.pok.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)
committerMykola Golub <mgolub@suse.com>
Wed, 16 May 2018 11:31:52 +0000 (14:31 +0300)
commit43e50bd582ba2d1b66f55d7f8d2b7f030da99ee6
tree15f927cf2d6288927a9bdf73c06500c98f4d8f9d
parent6e574e7eeda9430c04fe9752a9e4d48c29bdb58d
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>
src/tools/rbd_mirror/ImageReplayer.cc