]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: respect min_length as allocation granularity for new
authorIgor Fedotov <ifedotov@suse.com>
Thu, 31 May 2018 13:53:31 +0000 (16:53 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Tue, 12 Jun 2018 11:48:45 +0000 (14:48 +0300)
commit8a188b2aa3892b7f5a6c85042ffae8c2847ca869
tree289d97072a216816157e1bfdf1779584ca09c725
parentfa06ff234f11f266bb10d7fa9ea28847e5ce72fe
os/bluestore: respect min_length as allocation granularity for new
bitmap allocator.
It was used a real minimum threshold before this fix which allowed e.g.
allocated extent length to be equal to min_length + 1.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
src/os/bluestore/fastbmap_allocator_impl.cc
src/os/bluestore/fastbmap_allocator_impl.h
src/test/objectstore/fastbmap_allocator_test.cc