]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 6 May 2024 12:46:33 +0000 (15:46 +0300)
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit abdae14dd017dc2fce6e6c2ed014d7c024864dfc)

src/crimson/os/seastore/seastore.cc

index 5cc07df8c877f272849122320137c1160c1f8269..82d1a299df2a81bdf12d376e8897f9d14cd38001 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;