From abdae14dd017dc2fce6e6c2ed014d7c024864dfc Mon Sep 17 00:00:00 2001 From: Xuehan Xu Date: Tue, 27 Feb 2024 16:18:57 +0800 Subject: [PATCH] crimson/os/seastore: get_attrs should return all attrs Signed-off-by: Xuehan Xu --- 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 bf16ce83183..8363b148033 100644 --- a/src/crimson/os/seastore/seastore.cc +++ b/src/crimson/os/seastore/seastore.cc @@ -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; -- 2.39.5