Skip to content

Commit e277fbf

Browse files
committed
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 <[email protected]>
1 parent 3c07100 commit e277fbf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/crimson/os/seastore/seastore.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,9 @@ SeaStore::Shard::omap_get_values(
11341134
onode.get_layout().omap_root,
11351135
t,
11361136
start,
1137-
OMapManager::omap_list_config_t().with_inclusive(false, false));
1137+
OMapManager::omap_list_config_t()
1138+
.with_inclusive(false, false)
1139+
.without_max());
11381140
});
11391141
}
11401142

0 commit comments

Comments
 (0)