]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: make zone/span size of bitmap-allocator configurable
authorxie xingguo <xie.xingguo@zte.com.cn>
Sun, 26 Jun 2016 04:07:53 +0000 (12:07 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sun, 10 Jul 2016 13:25:45 +0000 (21:25 +0800)
commitb7d09ed13727cd3475d773781670db607fe3c812
tree1592992a13f8a2ae1d51136eb54f9194867b3974
parent85bb43e111692989d2296a389ce45377d2297d6f
os/bluestore: make zone/span size of bitmap-allocator configurable

Perviously as zone_size_block and span_size are identical, so we could use
span_size only to simplify the calcuation.

Now that the zone_size_block and span_size are both configurable, so
it is necessary to treat them respectively.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/common/config_opts.h
src/os/bluestore/BitAllocator.cc
src/os/bluestore/BitAllocator.h
src/os/bluestore/BitMapAllocator.cc
src/test/objectstore/BitAllocator_test.cc