]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/onode-staged-tree: convert ghobject_t to key_hobj_t to print 41772/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 9 Jun 2021 03:06:28 +0000 (11:06 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Fri, 11 Jun 2021 14:59:18 +0000 (22:59 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/test/crimson/seastore/onode_tree/test_staged_fltree.cc

index 59ee51a82042e2f1f2ed9e25f5da5c203773db57..498b58a87c1f16859345a8ed77a3c9f48ea321f1 100644 (file)
@@ -1182,7 +1182,7 @@ class DummyChildPool {
 
       // fix back
       logger().info("\n\nFIX pos({}) from {} back to {}:",
-                    pos, node_to_fix->get_name(), old_key);
+                    pos, node_to_fix->get_name(), key_hobj_t(old_key));
       node_to_fix->fix_key(pool_clone.get_context(), old_key).unsafe_get0();
       EXPECT_EQ(pool_clone.p_btree->height(pool_clone.t()).unsafe_get0(), 2);
       EXPECT_EQ(pool_clone.p_dummy->size(), 1);