summaryrefslogtreecommitdiff
path: root/src/osd/PG.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/PG.cc')
-rw-r--r--src/osd/PG.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/osd/PG.cc b/src/osd/PG.cc
index 8f7d3ccb684..8ba5b6cc2ff 100644
--- a/src/osd/PG.cc
+++ b/src/osd/PG.cc
@@ -2507,6 +2507,11 @@ void PG::requeue_object_waiters(map<hobject_t, list<OpRequestRef> >& m)
m.clear();
}
+void PG::requeue_op(OpRequestRef op)
+{
+ osd->op_wq.queue_front(make_pair(PGRef(this), op));
+}
+
void PG::requeue_ops(list<OpRequestRef> &ls)
{
dout(15) << " requeue_ops " << ls << dendl;