]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: proper init sequent in BlueFS::mount() 54434/head
authorIgor Fedotov <igor.fedotov@croit.io>
Tue, 14 Nov 2023 13:49:28 +0000 (16:49 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Tue, 14 Nov 2023 13:49:28 +0000 (16:49 +0300)
Requires in pacific backport only due to the lack of
https://github.com/ceph/ceph/pull/41557

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/os/bluestore/BlueFS.cc

index 559e15a2c08ef116417d15cac8d8a55c85d99c87..94c0a30524acbdec860a39cbb90fdde093dc8499 100644 (file)
@@ -817,8 +817,8 @@ int BlueFS::mount()
         get_block_device_size(BlueFS::BDEV_SLOW) * 95 / 100));
   }
 
-  _init_alloc();
   _init_logger();
+  _init_alloc();
 
   r = _replay(false, false);
   if (r < 0) {