]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: separate fm and alloc lifecycles
authorSage Weil <sage@redhat.com>
Mon, 25 Apr 2016 04:04:09 +0000 (00:04 -0400)
committerSage Weil <sage@redhat.com>
Sat, 30 Apr 2016 02:15:53 +0000 (22:15 -0400)
commitcfa9055310c872f47728fa8e1fd07920d6e1e141
tree8f90399df704525cf97480457062c5ec4b586755
parentdb9a96bec3ec71a4645b63845c999b77a1a555ba
os/bluestore: separate fm and alloc lifecycles

Set up the freelist before the allocator, so that we can initialize the
freespace before feeding that info to the allocator.

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