[PVFS2-CVS] commit by bradles in pvfs2/src/common/misc: msgpairarray.h

CVS commit program cvs at parl.clemson.edu
Fri Jul 23 13:36:24 EDT 2004


Update of /projects/cvsroot/pvfs2/src/common/misc
In directory styx.parl.clemson.edu:/tmp/cvs-serv13299/src/common/misc

Modified Files:
	msgpairarray.h 
Log Message:
Moving msgpair retry constants to msgpairarray.h to avoid including sysint
in server code.


Index: msgpairarray.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/common/misc/msgpairarray.h,v
diff -p -u -r1.7 -r1.8
--- msgpairarray.h	21 Jul 2004 16:07:09 -0000	1.7
+++ msgpairarray.h	23 Jul 2004 16:36:23 -0000	1.8
@@ -12,7 +12,18 @@
 #include "PINT-reqproto-encode.h"
 #include "job.h"
 
+
 extern struct PINT_state_machine_s pvfs2_msgpairarray_sm;
+
+/*
+  the following values are to be used by the struct
+  PINT_sm_msgpair_state_s message's retry_flag variable
+*/
+#define PVFS_MSGPAIR_RETRY          0xFE
+#define PVFS_MSGPAIR_NO_RETRY       0xFF
+
+/* this is the max number of times to attempt a msgpair retry */
+#define PVFS_MSGPAIR_RETRY_LIMIT     10
 
 /*
  * This structure holds everything that we need for the state of a



More information about the PVFS2-CVS mailing list