]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/os/seastore: get_attrs should return all attrs
authorXuehan Xu <xuxuehan@qianxin.com>
Tue, 27 Feb 2024 08:18:57 +0000 (16:18 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Tue, 27 Feb 2024 08:18:57 +0000 (16:18 +0800)
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/seastore.cc

index bf16ce83183651354a89aff81e09f2681c4a70de..8363b148033366e4f3d7221a621a8b51f207fd20 100644 (file)
@@ -937,7 +937,9 @@ SeaStore::Shard::get_attrs(
     [=, this](auto &t, auto& onode) {
       auto& layout = onode.get_layout();
       return omap_list(onode, layout.xattr_root, t, std::nullopt,
-        OMapManager::omap_list_config_t().with_inclusive(false, false)
+        OMapManager::omap_list_config_t()
+         .with_inclusive(false, false)
+         .without_max()
       ).si_then([&layout, &t, FNAME](auto p) {
         auto& attrs = std::get<1>(p);
         ceph::bufferlist bl;