From: Xuehan Xu Date: Sat, 2 Mar 2024 08:44:22 +0000 (+0800) Subject: crimson/os/seastore: omap_get_values with range [start, "infinite") X-Git-Tag: v20.0.0~2477^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F55887%2Fhead;p=ceph.git crimson/os/seastore: omap_get_values with range [start, "infinite") should return all results from "start" Currently, this range retrieval has a default max result size, which is wrong Signed-off-by: Xuehan Xu --- diff --git a/src/crimson/os/seastore/seastore.cc b/src/crimson/os/seastore/seastore.cc index 801667c9c30a..9c5199ed9ab8 100644 --- a/src/crimson/os/seastore/seastore.cc +++ b/src/crimson/os/seastore/seastore.cc @@ -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()); }); }