diff options
author | Samuel Just <sam.just@inktank.com> | 2013-09-09 13:20:06 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-09-23 22:54:59 -0700 |
commit | a8899efd90ae7800462971a202fb0317d53b8eb4 (patch) | |
tree | 3ec3e3bb3eb6775278efaa6ce490c734d51661e2 | |
parent | 8d02fc921d19b1dbc9c6ed00d4cbe166ccc24ec6 (diff) | |
download | ceph-a8899efd90ae7800462971a202fb0317d53b8eb4.tar.gz |
ReplicatedBackend: remove priority from Pull/PushInfo
Instead, we'll just nab the priority from the messages.
Signed-off-by: Samuel Just <sam.just@inktank.com>
-rw-r--r-- | src/osd/ReplicatedBackend.h | 2 | ||||
-rw-r--r-- | src/osd/ReplicatedPG.cc | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/osd/ReplicatedBackend.h b/src/osd/ReplicatedBackend.h index c57b10cbf1c..88323935e96 100644 --- a/src/osd/ReplicatedBackend.h +++ b/src/osd/ReplicatedBackend.h @@ -148,7 +148,6 @@ private: struct PushInfo { ObjectRecoveryProgress recovery_progress; ObjectRecoveryInfo recovery_info; - int priority; void dump(Formatter *f) const { { @@ -169,7 +168,6 @@ private: struct PullInfo { ObjectRecoveryProgress recovery_progress; ObjectRecoveryInfo recovery_info; - int priority; void dump(Formatter *f) const { { diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 7e8a2f8db08..bef4592fb97 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -6656,7 +6656,7 @@ void ReplicatedBackend::sub_op_push_reply(OpRequestRef op) PushOp pop; bool more = handle_push_reply(peer, rop, &pop); if (more) - send_push_op_legacy(pushing[soid][peer].priority, peer, pop); + send_push_op_legacy(op->request->get_priority(), peer, pop); } bool ReplicatedBackend::handle_push_reply(int peer, PushReplyOp &op, PushOp *reply) |