]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: keep an extent_ref_map for each blob
authorSage Weil <sage@redhat.com>
Tue, 3 May 2016 20:21:48 +0000 (16:21 -0400)
committerSage Weil <sage@redhat.com>
Wed, 1 Jun 2016 15:38:42 +0000 (11:38 -0400)
commitac2c8083de2d05f59a90cdcf4df8f81add51f12e
treec77a6b1445d9b8ab63b048f17ed14ad6af37bdde
parent9ed60d8f24dd89d29c8d5e1c7ab58a9ed2f7195b
os/bluestore: keep an extent_ref_map for each blob

This lets us track which portions of a blob are still in use.  In some
cases, we may be able to split the blob to deallocate a portion of it.
In other cases, we will want this information to know whether to
recompress the blob (or whatever).

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