]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore: adjust _remove to support omap tree for LOG
authormyoungwon oh <ohmyoungwon@gmail.com>
Thu, 5 Dec 2024 05:24:19 +0000 (05:24 +0000)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 20 Feb 2025 12:28:25 +0000 (12:28 +0000)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/crimson/os/seastore/seastore.cc

index 4b753b974c92b4eaee10f93fffe2b9afcb729a74..8abd6a39f7f42097c23112547817d4c4757d715e 100644 (file)
@@ -2105,6 +2105,12 @@ SeaStore::Shard::_remove(
       onode,
       onode->get_layout().xattr_root.get(
        onode->get_metadata_hint(device->get_block_size())));
+  }).si_then([this, &ctx, onode]() mutable {
+    return _remove_omaps(
+      ctx,
+      onode,
+      onode->get_layout().log_root.get(
+       onode->get_metadata_hint(device->get_block_size())));
   }).si_then([this, &ctx, onode] {
     return seastar::do_with(
       ObjectDataHandler(max_object_size),