summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2013-09-09 13:20:06 -0700
committerSamuel Just <sam.just@inktank.com>2013-09-26 11:24:27 -0700
commite7a0b23418a3f63f8994e2d34cd875c68343d6e5 (patch)
tree0233c016a37bd2242d2a2af93fa3a17328a89160
parent9e8c3c3d82df1f4b2228f5e5358795a33c6634a6 (diff)
downloadceph-e7a0b23418a3f63f8994e2d34cd875c68343d6e5.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.h2
-rw-r--r--src/osd/ReplicatedPG.cc2
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 bf514671dce..728af353193 100644
--- a/src/osd/ReplicatedPG.cc
+++ b/src/osd/ReplicatedPG.cc
@@ -6664,7 +6664,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)