]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: reorder _deferred_aio_finish 15004/head
authorSage Weil <sage@redhat.com>
Tue, 9 May 2017 02:18:25 +0000 (22:18 -0400)
committerSage Weil <sage@redhat.com>
Tue, 9 May 2017 02:18:25 +0000 (22:18 -0400)
commita8c1cf36b1c2aa8efc7e5f97104048267501ab4c
tree8f30f793c89b8d6deb251414ac4b48d1f5f209e1
parent7b2cd270b62aab19eefa32b0a0574920166b47ab
os/bluestore: reorder _deferred_aio_finish

Remove the OpSequencer from the deferred_queue before
marking the txc's completed.  This prevents a race with
_txc_finish trying to reap the completed sequencer that
is still on the deferred_queue, triggering an assert
in the intrusive list hook dtor.

Fixes: http://tracker.ceph.com/issues/19880
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc