diff options
Diffstat (limited to 'src/os/bluestore/BlueStore.h')
-rw-r--r-- | src/os/bluestore/BlueStore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/bluestore/BlueStore.h b/src/os/bluestore/BlueStore.h index 7407963cd39..cc2ef5e430e 100644 --- a/src/os/bluestore/BlueStore.h +++ b/src/os/bluestore/BlueStore.h @@ -615,6 +615,7 @@ public: ceph_assert(!shared_blob); sbid_unloaded = sb->get_sbid(); shared_blob = sb; + collection = sb->coll; ceph_assert(get_cache()); get_cache()->add_blob(); } @@ -1628,6 +1629,7 @@ private: BlobRef new_blob() { BlobRef b = new Blob(); b->collection = this; + b->get_cache()->add_blob(); return b; } |