That's what it is used for; make the name descriptive.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
// do any pending flush
do_pending_flush();
if (must_delay_request(op)) {
- op_waiters.push_back(op);
+ waiting_for_map.push_back(op);
return;
} else if (can_discard_request(op)) {
return;
void PG::take_waiters()
{
dout(10) << "take_waiters" << dendl;
- requeue_ops(op_waiters);
+ requeue_ops(waiting_for_map);
for (list<CephPeeringEvtRef>::iterator i = peering_waiters.begin();
i != peering_waiters.end();
++i) osd->queue_for_peering(this);
}
- list<OpRequestRef> op_waiters;
list<OpRequestRef> op_queue; // op queue
bool dirty_info, dirty_log;
// pg waiters
bool flushed;
+ list<OpRequestRef> waiting_for_map;
list<OpRequestRef> waiting_for_active;
list<OpRequestRef> waiting_for_all_missing;
map<hobject_t, list<OpRequestRef> > waiting_for_missing_object,
}
if (requeue) {
- op_waiters.splice(op_waiters.end(), rq);
+ waiting_for_map.splice(waiting_for_map.end(), rq);
}
}