From: xie xingguo Date: Thu, 3 Nov 2016 06:44:42 +0000 (+0800) Subject: os/bluestore: drop safe check against g_conf X-Git-Tag: v11.1.0~439^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d129a2868a128d627b080637e98495081e6c4cca;p=ceph.git os/bluestore: drop safe check against g_conf We are using g_conf unconditionly everywhere... Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 78c0b5ea737..b54e893775c 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -1563,8 +1563,7 @@ ostream& operator<<(ostream& out, const BlueStore::Extent& e) BlueStore::ExtentMap::ExtentMap(Onode *o) : onode(o), - inline_bl( - g_conf ? g_conf->bluestore_extent_map_inline_shard_prealloc_size : 4096) { + inline_bl(g_conf->bluestore_extent_map_inline_shard_prealloc_size) { }