]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: drop safe check against g_conf
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 3 Nov 2016 06:44:42 +0000 (14:44 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 3 Nov 2016 06:44:42 +0000 (14:44 +0800)
We are using g_conf unconditionly everywhere...

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

index 78c0b5ea7371c80584a1bfc45fbe49868e7b15bd..b54e893775c749c892f84760bd30ca2324d55ce3 100644 (file)
@@ -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) {
 }