Skip to content
Browse files

PG: delay ops in do_request, not queue_op

Signed-off-by: Samuel Just <sam.just@inktank.com>
  • Loading branch information...
1 parent 9b182d2 commit c6db1b2ee267f27021d4d1a32fd33950134de94b Samuel Just committed Jun 8, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/osd/PG.cc
View
6 src/osd/PG.cc
@@ -4098,10 +4098,8 @@ bool PG::must_delay_request(OpRequestRef op)
void PG::queue_op(OpRequestRef op)
{
- if (must_delay_request(op)) {
- op_waiters.push_back(op);
- return;
- } else if (can_discard_request(op)) {
+ if (!must_delay_request(op) &&
+ can_discard_request(op)) {
return;
}
op_queue.push_back(op);

0 comments on commit c6db1b2

Please sign in to comment.
Something went wrong with that request. Please try again.