]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/os/seastore: omap_get_values with range [start, "infinite")
authorXuehan Xu <xxhdx1985126@gmail.com>
Sat, 2 Mar 2024 08:44:22 +0000 (16:44 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Sat, 2 Mar 2024 09:18:22 +0000 (17:18 +0800)
should return all results from "start"

Currently, this range retrieval has a default max result size, which is
wrong

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/os/seastore/seastore.cc

index 801667c9c30a8ba65bd92d7cd1df3006db775129..9c5199ed9ab8921c99444ee6077172b24ec6b624 100644 (file)
@@ -1134,7 +1134,9 @@ SeaStore::Shard::omap_get_values(
        onode.get_layout().omap_root,
        t,
        start,
-       OMapManager::omap_list_config_t().with_inclusive(false, false));
+       OMapManager::omap_list_config_t()
+         .with_inclusive(false, false)
+         .without_max());
   });
 }