From 9f3b6eaf9ebad702f327c84cc70cfe9ad168e89f Mon Sep 17 00:00:00 2001 From: Xuehan Xu Date: Sat, 2 Mar 2024 16:44:22 +0800 Subject: [PATCH] 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) --- src/crimson/os/seastore/seastore.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/crimson/os/seastore/seastore.cc b/src/crimson/os/seastore/seastore.cc index eba19eabebe..82329c41916 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()); }); } -- 2.39.5