]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: do not track bluefs_extents via freelist
authorSage Weil <sage@redhat.com>
Thu, 11 Aug 2016 21:08:21 +0000 (17:08 -0400)
committerSage Weil <sage@redhat.com>
Thu, 11 Aug 2016 21:08:21 +0000 (17:08 -0400)
commitf1c86c0482468e4027ad848f2ed065c28e930f35
tree18bffb48d2b014c6ddb42044147a6cb256075e9f
parentec8e11f7fbb858e302a6f6598455e357a1a7fe24
os/bluestore: do not track bluefs_extents via freelist

We explicitly track bluefs extents in the bluefs_extents
interval_set stored in the superblock.  Telling the
freelist about it is redundant.  It's also slow, because
bluefs uses a bit portion of the device and the bitmap
representation has to flip a lot of bits in the KV store
during mkfs (or possibly during a freespace balance).

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