]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: take Collection ref from SharedBlob
authorSage Weil <sage@redhat.com>
Wed, 15 Mar 2017 19:01:52 +0000 (15:01 -0400)
committerSage Weil <sage@redhat.com>
Tue, 21 Mar 2017 18:56:30 +0000 (13:56 -0500)
commit01ef844421e3f9c9ded988a113512e3d0bc7d5b2
tree70da5065d0e142b8f20f6c6d588255905cb30be4
parent81e8682be13810a67dccbef3e98ea8037a18851f
os/bluestore: take Collection ref from SharedBlob

These can survive as long as the txc, which can be longer than the
Collection.  Make sure we have a valid ref as both finish_write and
~SharedBlob use coll for the SharedBlobSet (and coll->store->cct for
debug).

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