[mpich2-commits] r5600 - mpich2/trunk/src/pm/hydra/pm/pmiserv

balaji at mcs.anl.gov balaji at mcs.anl.gov
Wed Oct 28 15:10:37 CDT 2009


Author: balaji
Date: 2009-10-28 15:10:37 -0500 (Wed, 28 Oct 2009)
New Revision: 5600

Modified:
   mpich2/trunk/src/pm/hydra/pm/pmiserv/pmi_handle_v2.c
Log:
Fix a bug that crept in, in r5591.


Modified: mpich2/trunk/src/pm/hydra/pm/pmiserv/pmi_handle_v2.c
===================================================================
--- mpich2/trunk/src/pm/hydra/pm/pmiserv/pmi_handle_v2.c	2009-10-28 18:58:32 UTC (rev 5599)
+++ mpich2/trunk/src/pm/hydra/pm/pmiserv/pmi_handle_v2.c	2009-10-28 20:10:37 UTC (rev 5600)
@@ -164,7 +164,9 @@
             HYDU_ERR_POP(status, "kvs_get returned error\n");
         }
 
-        if (req_complete) {
+        /* If the request hasn't completed, queue it back at the end
+         * of the pending list */
+        if (!req_complete) {
             status = queue_req(req->fd, req->type, req->args);
             HYDU_ERR_POP(status, "error queueing request\n");
         }



More information about the mpich2-commits mailing list