]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd/osd_meta: change osd_superblock to be a head object
authorXuehan Xu <xuxuehan@qianxin.com>
Wed, 13 Aug 2025 06:46:23 +0000 (14:46 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Sun, 28 Sep 2025 06:48:59 +0000 (14:48 +0800)
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/osd/osd_meta.cc

index d959ac140299ded54d3d14cf978d8a89aaf14f55..e20dba61d98f92d60cc19c804e5324e9a64d8bc1 100644 (file)
@@ -153,5 +153,5 @@ ghobject_t OSDMeta::final_pool_info_oid(int64_t pool)
 
 ghobject_t OSDMeta::superblock_oid()
 {
-  return ghobject_t(hobject_t(sobject_t(object_t("osd_superblock"), 0)));
+  return ghobject_t(hobject_t(sobject_t(object_t("osd_superblock"), CEPH_NOSNAP)));
 }