]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: fix try_flush_mark_clean write contention case 22113/head
authorSage Weil <sage@redhat.com>
Fri, 18 May 2018 14:24:48 +0000 (09:24 -0500)
committerKefu Chai <kchai@redhat.com>
Mon, 21 May 2018 08:42:09 +0000 (16:42 +0800)
commit095934fe72b3301d06e47f0b22805770da6e84a5
treeb754574d84e1ff5af233a20b29a0fca2489d42c8
parent34656d3c816d76b0c9c9c8e33b4e2815f8724b1f
osd/PrimaryLogPG: fix try_flush_mark_clean write contention case

Release ctx *after* we dereference it to queue up the other flush waiters.
This was a dumb mistake in the recent fix from 41609ba1b24e5384494c7959494e19302b5a2429

Fixes: http://tracker.ceph.com/issues/24174
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 6d6cf388b245e21cc78be00d838e8b214b1e9497)
src/osd/PrimaryLogPG.cc