]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: get 'bluefs_extents' only /w bluefs 13559/head
authorTaeksang Kim <voidbag@gmail.com>
Tue, 21 Feb 2017 11:28:46 +0000 (20:28 +0900)
committerTaeksang Kim <voidbag@gmail.com>
Tue, 7 Mar 2017 07:33:24 +0000 (16:33 +0900)
kv_backend other than rocksdb can't have 'bluefs_extents'

Signed-off-by: Taeksang Kim <voidbag@gmail.com>
src/os/bluestore/BlueStore.cc

index 72b2ba94c42764ca8a984b340afef9d9d50b0f74..1b85c4bc7fc0549d0337b2fe72e6786bca29df1b 100644 (file)
@@ -6899,7 +6899,7 @@ int BlueStore::_open_super_meta()
   }
 
   // bluefs alloc
-  {
+  if (cct->_conf->bluestore_bluefs) {
     bluefs_extents.clear();
     bufferlist bl;
     db->get(PREFIX_SUPER, "bluefs_extents", &bl);