]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: keep ref to deleted onode in _do_remove
authorSage Weil <sage@redhat.com>
Tue, 10 Oct 2017 19:00:30 +0000 (14:00 -0500)
committerSage Weil <sage@redhat.com>
Mon, 11 Dec 2017 21:05:38 +0000 (15:05 -0600)
commit0347518d02eda4e0e2da5241f1d77bc7304d59fb
treedf6834121e734987bff4a0569927d90b0b337d22
parent8dae6d198e442f660d97b9bfcf05fcb1af95b2d5
os/bluestore: keep ref to deleted onode in _do_remove

We need to make sure we carry this ref through until the object is
deleted or else another request right try to read it before the kv
txn is applied.  (This is easy to trigger now that onreadable is completed
at queue time instead of commit time.)

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc