]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Bluestore: Fixed a Bluestore crash
authorSomnath Roy <somnath.roy@sandisk.com>
Sat, 9 Jul 2016 02:41:46 +0000 (22:41 -0400)
committerMark Nelson <mnelson@redhat.com>
Mon, 18 Jul 2016 02:26:31 +0000 (21:26 -0500)
commitbf70bcb6c54e4d6404533bc91781a5ef77d62033
treefa927984891f431ef19d25082a25d1e0df98664f
parent3e5775475baf315885295ae47a0f4a86820bfe0f
Bluestore: Fixed a Bluestore crash

A bluestore race condition is been fixed by protecting txc structures
within _txc_state_poc with collection lock.

Mark's comments:

This fixes segfaults during random write tests with bluestore.
This passes "ceph_test_objectstore --gtest_filter=*/2".
This may introduce a small performance regresion, though there is enough
noise in the results to make it inconclusive.

Closes #10220

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
src/os/bluestore/BlueStore.cc