]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: kill BufferSpace.empty() 12871/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 11 Jan 2017 02:20:54 +0000 (10:20 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 11 Jan 2017 02:43:58 +0000 (10:43 +0800)
commit985514b278b9ec2894cc91db27094ea95f8c0970
tree377d45d87b0740854899dedf4684c9be6fe423db
parentebb02c8ef539b21b2cf4154fe4c43c59e87e146c
os/bluestore: kill BufferSpace.empty()

Because:
1. All other public methods are called under the protection of cache->lock,
which makes the usage of this method is weird.

2. The only caller is _dump_extent_map(), and we can do it without this
in a simpler way.

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