]> 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>
Sun, 17 Mar 2019 17:55:31 +0000 (20:55 +0300)
commite3f9decdf853c3109024edc06f65083fe4c52b3e
treeace54304aa0e1e5abc973b4a1ddfd91aaf4e9096
parent617a1f923ea3383ebfccada9d0980ed0782f44b0
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>
(cherry picked from commit 8a188b2aa3892b7f5a6c85042ffae8c2847ca869)
src/os/bluestore/fastbmap_allocator_impl.cc
src/os/bluestore/fastbmap_allocator_impl.h
src/test/objectstore/fastbmap_allocator_test.cc