]> 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)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 7 May 2024 11:41:49 +0000 (14:41 +0300)
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>
(cherry picked from commit e277fbf63cff08538d1e2d3dc99c0c7d69ac5e13)

src/crimson/os/seastore/seastore.cc

index eba19eabebebdea4ea162b3251c3523e9a322d36..82329c4191697ab13f67f0f95c199c124605d8ca 100644 (file)
@@ -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());
   });
 }