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: v19.1.1~372^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F57327%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 (cherry picked from commit e277fbf63cff08538d1e2d3dc99c0c7d69ac5e13) --- diff --git a/src/crimson/os/seastore/seastore.cc b/src/crimson/os/seastore/seastore.cc index eba19eabebeb..82329c419169 100644 --- a/src/crimson/os/seastore/seastore.cc +++ b/src/crimson/os/seastore/seastore.cc @@ -1130,7 +1130,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()); }); }