[PVFS2-CVS] commit by pw in pvfs2/src/client/sysint: sys-io.sm

CVS commit program cvs at parl.clemson.edu
Thu Apr 21 17:15:07 EDT 2005


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb:/tmp/cvs-serv8185/src/client/sysint

Modified Files:
	sys-io.sm 
Log Message:
debug show when retry limit exceeded


Index: sys-io.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-io.sm,v
diff -u -p -u -r1.116 -r1.117
--- sys-io.sm	28 Mar 2005 19:02:18 -0000	1.116
+++ sys-io.sm	21 Apr 2005 20:15:07 -0000	1.117
@@ -874,6 +874,8 @@ io_datafile_post_msgpairs_retry(PINT_cli
     /* give up if beyond retry limit */
     ++sm_p->u.io.retry_count;
     if (sm_p->u.io.retry_count > PVFS2_CLIENT_RETRY_LIMIT) {
+        gossip_debug(GOSSIP_CLIENT_DEBUG, "%s: retry %d exceeds limit %d\n",
+          __func__, sm_p->u.io.retry_count, PVFS2_CLIENT_RETRY_DELAY);
         js_p->error_code = IO_DATAFILE_TRANSFERS_COMPLETE;
         return 1;
     }
@@ -1067,7 +1069,7 @@ static int io_datafile_complete_operatio
      || sm_p->u.io.write_ack_completion_count) {
         if (sm_p->op_cancelled)
             gossip_debug(GOSSIP_IO_DEBUG, "detected I/O cancellation with "
-                         "%d flow(s) and %d write ack(s) pending\n",
+                         "%d flows and %d write acks pending\n",
                          sm_p->u.io.flow_completion_count,
                          sm_p->u.io.write_ack_completion_count);
         else



More information about the PVFS2-CVS mailing list