[PVFS2-CVS] commit by slang in pvfs2/include: pvfs2-dist-varstrip.h pvfs2-debug.h

CVS commit program cvs at parl.clemson.edu
Wed Jul 13 17:42:13 EDT 2005


Update of /projects/cvsroot/pvfs2/include
In directory parlweb:/tmp/cvs-serv922/include

Modified Files:
	pvfs2-debug.h 
Added Files:
	pvfs2-dist-varstrip.h 
Log Message:
adding new varstrip distribution contributed by Heidelberg folks.


--- /dev/null	2003-01-30 05:24:37.000000000 -0500
+++ pvfs2-dist-varstrip.h	2005-07-13 16:42:13.000000000 -0400
@@ -0,0 +1,37 @@
+/*
+ * (C) 2005 Tobias Eberle <tobias.eberle at gmx.de>
+ *
+ * See COPYING in top-level directory.
+ */       
+
+#ifndef  __PVFS2_DIST_VARSTRIP_H 
+#define  __PVFS2_DIST_VARSTRIP_H 
+
+/* Identifier to use when looking up this distribution */
+#define PVFS_DIST_VARSTRIP_NAME "varstrip_dist"
+#define PVFS_DIST_VARSTRIP_NAME_SIZE 14
+
+#define PVFS_DIST_VARSTRIP_MAX_STRIPS_STRING_LENGTH 1025
+struct PVFS_varstrip_params_s {
+    /*
+     * format:
+     * "node number:size;node number:size"
+     * example: "0:512;1:512"
+     * results in: node number 0: 0-511
+     *             node number 1: 512-1023
+     * size is in bytes
+     */
+    char strips[PVFS_DIST_VARSTRIP_MAX_STRIPS_STRING_LENGTH];
+};
+typedef struct PVFS_varstrip_params_s PVFS_varstrip_params;
+
+#endif
+
+/*
+ * Local variables:
+ *  c-indent-level: 4
+ *  c-basic-offset: 4
+ * End:
+ *
+ * vim: ts=8 sts=4 sw=4 expandtab
+ */

Index: pvfs2-debug.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-debug.h,v
diff -p -u -r1.41 -r1.42
--- pvfs2-debug.h	27 Oct 2004 19:12:25 -0000	1.41
+++ pvfs2-debug.h	13 Jul 2005 20:42:13 -0000	1.42
@@ -54,6 +54,7 @@
 #define GOSSIP_CLIENTCORE_TIMING_DEBUG ((uint64_t)1 << 32)
 #define GOSSIP_SETATTR_DEBUG           ((uint64_t)1 << 33)
 #define GOSSIP_MKDIR_DEBUG             ((uint64_t)1 << 34)
+#define GOSSIP_VARSTRIP_DEBUG          ((uint64_t)1 << 35)
 
 #define GOSSIP_BMI_DEBUG_ALL (uint64_t)                               \
 (GOSSIP_BMI_DEBUG_TCP + GOSSIP_BMI_DEBUG_CONTROL +                    \



More information about the PVFS2-CVS mailing list