]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore: adjust SeaStore::_omap_set_kvs() params 57326/head
authorXuehan Xu <xuxuehan@qianxin.com>
Fri, 1 Mar 2024 02:32:32 +0000 (10:32 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 7 May 2024 11:40:34 +0000 (14:40 +0300)
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit 9852f4d97e7f4ff6a83b90bf7fa5a15b59e4342a)

src/crimson/os/seastore/seastore.cc
src/crimson/os/seastore/seastore.h

index eba19eabebebdea4ea162b3251c3523e9a322d36..e5182d2c67d41415662f87c5f4ebeab518bdc9bc 100644 (file)
@@ -1615,7 +1615,7 @@ SeaStore::Shard::_zero(
 
 SeaStore::Shard::omap_set_kvs_ret
 SeaStore::Shard::_omap_set_kvs(
-  OnodeRef &onode,
+  const OnodeRef &onode,
   const omap_root_le_t& omap_root,
   Transaction& t,
   std::map<std::string, ceph::bufferlist>&& kvs)
index bff0092f45332539ddb8c01c08cc8a0bf5548ee4..4bbe2a592ac4ba3248cfcf7da0a53b5936958e74 100644 (file)
@@ -412,7 +412,7 @@ public:
       const coll_t& cid);
     using omap_set_kvs_ret = tm_iertr::future<omap_root_t>;
     omap_set_kvs_ret _omap_set_kvs(
-      OnodeRef &onode,
+      const OnodeRef &onode,
       const omap_root_le_t& omap_root,
       Transaction& t,
       std::map<std::string, ceph::bufferlist>&& kvs);