]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
seastore: add a log line after set_disable_trim is called
authormyoungwon oh <ohmyoungwon@gmail.com>
Thu, 12 May 2022 06:15:21 +0000 (15:15 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 19 May 2022 00:51:15 +0000 (09:51 +0900)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/crimson/os/seastore/transaction_manager.cc

index 5ff7d9afe5b2a3ff5e06aac5df77240eeb9f3bf5..3834dd78de431cb780e608851a86ed55bcc57dc9 100644 (file)
@@ -636,6 +636,7 @@ TransactionManager::~TransactionManager() {}
 
 TransactionManagerRef make_transaction_manager(tm_make_config_t config)
 {
+  LOG_PREFIX(make_transaction_manager);
   auto epm = std::make_unique<ExtentPlacementManager>();
   auto cache = std::make_unique<Cache>(*epm);
   auto lba_manager = lba_manager::create_lba_manager(*cache);
@@ -654,6 +655,8 @@ TransactionManagerRef make_transaction_manager(tm_make_config_t config)
     journal = journal::make_circularbounded(
       nullptr, "");
     segment_cleaner->set_disable_trim(true);
+    ERROR("disabling journal trimming since support for CircularBoundedJournal\
+         hasn't been added yet");
   }
   epm->init_ool_writers(
       *segment_cleaner,