]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: move blob_map out of onode_t
authorSage Weil <sage@redhat.com>
Tue, 7 Jun 2016 17:24:17 +0000 (13:24 -0400)
committerSage Weil <sage@redhat.com>
Wed, 15 Jun 2016 19:58:23 +0000 (15:58 -0400)
commite65d2b8692868d6b875d486888c037def0b2273d
treeaa48f7c9899cde374ac763c54765528fd6a4e6e8
parent20d75c533c41c1d5713a812e9e79afbd962bbc9f
os/bluestore: move blob_map out of onode_t

Move the blob_map index out of the onode_t proper.  None of the (important)
onode_t methods use the blob_map, which is expected since blobs may exist
in the onode or bnode map.  Instead, move it into Onode, parallel the
Bnode counterpart.

This will allow us to create a blob map that includes the buffer cache
with an encode/decode and lifecycle independent of the onode_t.

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