]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PrimaryLogPG: fix try_flush_mark_clean write contention case
authorSage Weil <sage@redhat.com>
Fri, 18 May 2018 14:24:48 +0000 (09:24 -0500)
committerSage Weil <sage@redhat.com>
Fri, 18 May 2018 14:24:48 +0000 (09:24 -0500)
commit6d6cf388b245e21cc78be00d838e8b214b1e9497
treea31f7e3645438485fa1131fab1e06c5166d9841e
parentbd982ed0780633c6df6188ed3397d674e94d338e
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>
src/osd/PrimaryLogPG.cc