]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Journaler: add 'stopping' check to various finish callbacks
authorYan, Zheng <zyan@redhat.com>
Mon, 11 Dec 2017 00:43:57 +0000 (08:43 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 20 Dec 2017 02:38:32 +0000 (10:38 +0800)
commit05397e405f552bb720e12b9c0557b4c9234ffaa0
treed0548687b49831deb3ec6f12ace95344fd803cb5
parent88b4534a0fab6f7020874ff8903b2f2eb9d06eb2
osdc/Journaler: add 'stopping' check to various finish callbacks

These callbacks are executed by finisher. When they are being executed,
Journaler can be in stopping state.

Fixes: http://tracker.ceph.com/issues/22360
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 7ffa87e6a2ab8fb2c64588411c6c2ebff2f91f93)
src/osdc/Journaler.cc