diff options
author | Sage Weil <sage@redhat.com> | 2018-02-08 00:05:46 +0100 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2018-02-12 21:35:28 +0100 |
commit | 01b68f969cdf6925275a90a31c2bba4e7951ff43 (patch) | |
tree | 872b69bc8055096ab720a837c5480b6ab4a83c1e /src/osd/PGBackend.h | |
parent | osd/PGBackend: remove on_applied() from interface (diff) | |
download | ceph-01b68f969cdf6925275a90a31c2bba4e7951ff43.tar.xz ceph-01b68f969cdf6925275a90a31c2bba4e7951ff43.zip |
osd/PGBackend: drop on_applied callback for submit_transaction
This removes a ton of tracking for ReplicatedBackend. ECBackend needs
to keep most of it so that it can track in-flight applies on legacy
peer OSDs. We can remove this post-nautilus.
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/osd/PGBackend.h')
-rw-r--r-- | src/osd/PGBackend.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/osd/PGBackend.h b/src/osd/PGBackend.h index 158c358a714..68da2e89b6f 100644 --- a/src/osd/PGBackend.h +++ b/src/osd/PGBackend.h @@ -216,9 +216,6 @@ typedef ceph::shared_ptr<const OSDMap> OSDMapRef; virtual void release_locks(ObcLockManager &manager) = 0; - virtual void op_applied( - const eversion_t &applied_version) = 0; - virtual bool should_send_op( pg_shard_t peer, const hobject_t &hoid) = 0; @@ -438,7 +435,6 @@ typedef ceph::shared_ptr<const OSDMap> OSDMapRef; const vector<pg_log_entry_t> &log_entries, ///< [in] log entries for t /// [in] hitset history (if updated with this transaction) boost::optional<pg_hit_set_history_t> &hset_history, - Context *on_all_applied, ///< [in] called when all acked Context *on_all_commit, ///< [in] called when all commit ceph_tid_t tid, ///< [in] tid osd_reqid_t reqid, ///< [in] reqid |