]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: replace m_max_alloc_size with m_max_blocks
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 28 Dec 2016 06:23:35 +0000 (14:23 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 13 Jan 2017 03:52:26 +0000 (11:52 +0800)
commit6a187e473ccc625a6c2a0a21578606770704ee2f
tree229d4163f0c81fc717f01cd22f38d07aced7e7eb
parentb41fe6b44d1e745c27ae85488aca56e04ce1aeef
os/bluestore: replace m_max_alloc_size with m_max_blocks

So we can get rid of the annoying transfer each time we
try to add an extent into an ExtentList.
Also simplify the add_extents() method a little.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/bluestore_types.cc
src/os/bluestore/bluestore_types.h