]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: use block_size for allocator unit
authorSage Weil <sage@redhat.com>
Tue, 6 Sep 2016 19:28:14 +0000 (15:28 -0400)
committerSage Weil <sage@redhat.com>
Wed, 7 Sep 2016 15:26:06 +0000 (11:26 -0400)
commitdcc58c9b93f34fa979fd61973f3affa3e8a442e5
tree78db7b7758d57a19fc2cc87788fd0ecd5de664de
parent6e251cfd4795cbd8bc25e25de073ebed026afec0
os/bluestore: use block_size for allocator unit

We need to handle objects written during previous mounts
that may have had a smaller min_alloc_size.  Use
block_size, which is a safe lower bound.

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