]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: don't send reply on message that got EAGAIN
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 26 May 2009 18:28:05 +0000 (11:28 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 26 May 2009 18:28:50 +0000 (11:28 -0700)
src/osd/ReplicatedPG.cc

index d13d6e966e49ddf9ae0649da51f0122fb615f206..78eed8b4f2e3b0eade6f939bd2b1d52f1e543686 100644 (file)
@@ -476,6 +476,9 @@ void ReplicatedPG::do_op(MOSDOp *op)
     if (result >= 0)
       log_op_stats(soid, ctx);
 
+    if (result == -EAGAIN)
+      return;
+
     // read or error?
     if (ctx->op_t.empty() || result < 0) {
       MOSDOpReply *reply = new MOSDOpReply(op, 0, osd->osdmap->get_epoch(),