From: Jianpeng Ma Date: Thu, 31 Jan 2019 11:57:27 +0000 (+0800) Subject: osd: remove unused function. X-Git-Tag: v14.1.0~215^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fd969f5461a344a7f74267c98ea5b8c1606cf3f8;p=ceph.git osd: remove unused function. Signed-off-by: Jianpeng Ma --- 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;