]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: load dynamic params from a single place
authorIgor Fedotov <ifedotov@mirantis.com>
Mon, 10 Apr 2017 14:47:54 +0000 (14:47 +0000)
committerIgor Fedotov <ifedotov@mirantis.com>
Mon, 17 Apr 2017 12:03:28 +0000 (05:03 -0700)
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
 Please enter the commit message for your changes. Lines starting

src/os/bluestore/BlueStore.cc

index e9468af610d5edc4662b0514325e7e9fd19dfc90..d19e36e766a14b5093984be70cea4083b6ad1e9c 100644 (file)
@@ -4899,9 +4899,6 @@ int BlueStore::mount()
 
   mempool_thread.init();
 
-  _set_csum();
-  _set_compression();
-  _set_blob_size();
 
   mounted = true;
   return 0;
@@ -7171,6 +7168,10 @@ int BlueStore::_open_super_meta()
   _set_alloc_sizes();
   _set_throttle_params();
 
+  _set_csum();
+  _set_compression();
+  _set_blob_size();
+
   return 0;
 }