]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: use bdev_block_size instead of min_alloc_size for allocators
authorSage Weil <sage@redhat.com>
Fri, 20 May 2016 19:25:39 +0000 (15:25 -0400)
committerSage Weil <sage@redhat.com>
Wed, 1 Jun 2016 15:40:47 +0000 (11:40 -0400)
commitfb45f389de5df81c72df502a778e833270503926
treecfad9e6efcc06f528304234fd32e560a4b4e010a
parent8185f2d356911274ca679614611dc335e3efd187
os/bluestore: use bdev_block_size instead of min_alloc_size for allocators

min_alloc_size is more dynamic; we just need the block size unit here.

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