summaryrefslogtreecommitdiffstats
path: root/src/crimson/osd/shard_services.h
diff options
context:
space:
mode:
authorXuehan Xu <xuxuehan@qianxin.com>2024-09-29 11:26:04 +0200
committerXuehan Xu <xuxuehan@qianxin.com>2024-12-19 03:08:33 +0100
commit1f1051d91f320636f513faeb2d113542bcb9e5c3 (patch)
tree33b301a413651657eeb06c598c78290d4d443393 /src/crimson/osd/shard_services.h
parentMerge pull request #60976 from rhcs-dashboard/fix-69144-main (diff)
downloadceph-1f1051d91f320636f513faeb2d113542bcb9e5c3.tar.xz
ceph-1f1051d91f320636f513faeb2d113542bcb9e5c3.zip
crimson/osd/pg_shard_manager: discard outdated operations when the
corresponding pgs are already removed Fixes: https://tracker.ceph.com/issues/68286 Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
Diffstat (limited to '')
-rw-r--r--src/crimson/osd/shard_services.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crimson/osd/shard_services.h b/src/crimson/osd/shard_services.h
index 56ac4963fff..f4d4b4c2eb4 100644
--- a/src/crimson/osd/shard_services.h
+++ b/src/crimson/osd/shard_services.h
@@ -483,6 +483,8 @@ public:
return pg_to_shard_mapping.remove_pg_mapping(pgid);
}
+ Ref<PG> get_pg(spg_t pgid);
+
crimson::common::CephContext *get_cct() {
return &(local_state.cct);
}