]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/onode-staged-tree: add logs for hint 43018/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 2 Sep 2021 04:42:27 +0000 (12:42 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Thu, 2 Sep 2021 04:42:27 +0000 (12:42 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/onode_manager/staged-fltree/node_extent_manager/dummy.h
src/crimson/os/seastore/onode_manager/staged-fltree/node_extent_manager/seastore.h

index 53115ba171eaebcd477a8c8f64bc022cf06477bb..272e0dbb36929b31db17d70b899217193098a5a9 100644 (file)
@@ -90,7 +90,7 @@ class DummyNodeExtentManager final: public NodeExtentManager {
 
   alloc_iertr::future<NodeExtentRef> alloc_extent(
       Transaction& t, laddr_t hint, extent_len_t len) override {
-    TRACET("allocating {}B ...", t, len);
+    TRACET("allocating {}B with hint {:#x} ...", t, len, hint);
     if constexpr (SYNC) {
       return alloc_extent_sync(t, len);
     } else {
index 3ff51d0542e3be8f2488a4e2140a7ba35b40c556..432890922f89f6e78e48aeb644d3615c74b9e3ff 100644 (file)
@@ -122,7 +122,7 @@ class SeastoreNodeExtentManager final: public TransactionManagerHandle {
 
   alloc_iertr::future<NodeExtentRef> alloc_extent(
       Transaction& t, laddr_t hint, extent_len_t len) override {
-    TRACET("allocating {}B ...", t, len);
+    TRACET("allocating {}B with hint {:#x} ...", t, len, hint);
     if constexpr (INJECT_EAGAIN) {
       if (trigger_eagain()) {
         DEBUGT("allocating {}B: trigger eagain", t, len);