]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix _split_collections race with osr_reap 11748/head
authorSage Weil <sage@redhat.com>
Thu, 3 Nov 2016 14:33:23 +0000 (10:33 -0400)
committerSage Weil <sage@redhat.com>
Thu, 3 Nov 2016 14:33:23 +0000 (10:33 -0400)
commitd4209863b7f136ea423969792c8d3bad2cf0145d
tree5d778b7ad77f5976748c0f4f908aa6f180518b52
parentd033f15b2d821c52aa4c12d268934f067778d6f3
os/bluestore: fix _split_collections race with osr_reap

The SharedBlobSet may not yet be empty at split time because previous
transactions may not have been reaped, leaving some Blobs still alive
even after the cache refs are cleared.  Drop them explicitly here (they
will go away shortly).

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