From fd969f5461a344a7f74267c98ea5b8c1606cf3f8 Mon Sep 17 00:00:00 2001 From: Jianpeng Ma Date: Thu, 31 Jan 2019 19:57:27 +0800 Subject: [PATCH] osd: remove unused function. Signed-off-by: Jianpeng Ma --- src/osd/PGBackend.h | 2 -- src/osd/PrimaryLogPG.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/osd/PGBackend.h b/src/osd/PGBackend.h index 837e2cce10f3d..a0ae51d4f9e85 100644 --- a/src/osd/PGBackend.h +++ b/src/osd/PGBackend.h @@ -270,8 +270,6 @@ typedef std::shared_ptr OSDMapRef; virtual spg_t primary_spg_t() const = 0; virtual pg_shard_t primary_shard() const = 0; - virtual uint64_t min_peer_features() const = 0; - virtual hobject_t get_temp_recovery_object(const hobject_t& target, eversion_t version) = 0; diff --git a/src/osd/PrimaryLogPG.h b/src/osd/PrimaryLogPG.h index fae97d574edb3..958a657378e16 100644 --- a/src/osd/PrimaryLogPG.h +++ b/src/osd/PrimaryLogPG.h @@ -482,9 +482,6 @@ public: pg_shard_t primary_shard() const override { return primary; } - uint64_t min_peer_features() const override { - return get_min_peer_features(); - } void send_message_osd_cluster( int peer, Message *m, epoch_t from_epoch) override; -- 2.39.5