]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/bluestore_types: add blob_t unused
authorSage Weil <sage@redhat.com>
Thu, 19 May 2016 12:43:49 +0000 (08:43 -0400)
committerSage Weil <sage@redhat.com>
Wed, 1 Jun 2016 15:38:51 +0000 (11:38 -0400)
commitf63d207914d082056451453aa3cb017f117f7cf4
tree58c2f4376351025166b3e232abbdbba743566aa4
parent07d1e43abf65e0a9f061371d2c9a476052ca8e3c
os/bluestore/bluestore_types: add blob_t unused

Keep track of which ranges of this blob have *never* been used.  We do
this as a negative so that the common case of a fully-written blob is an
empty set.

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