]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: add mark_queued_for_pg for OpRequest.
authorJianpeng Ma <jianpeng.ma@intel.com>
Wed, 15 Jul 2015 03:18:51 +0000 (11:18 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Mon, 20 Jul 2015 05:10:49 +0000 (13:10 +0800)
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/osd/PG.cc

index b53370f8c38d98f4c1d4f4f69eabd5032cd9d01a..747c187eda4029087ea6ab49565bf4af0e926e17 100644 (file)
@@ -1841,6 +1841,7 @@ void PG::queue_op(OpRequestRef& op)
     waiting_for_map.push_back(op);
     return;
   }
+  op->mark_queued_for_pg();
   osd->op_wq.queue(make_pair(PGRef(this), op));
   {
     // after queue() to include any locking costs