[PVFS2-CVS] commit by bradles in pvfs2/test/io/description: debug1.c debug10.c debug11.c debug12.c debug2.c debug3.c debug4.c debug5.c debug6.c debug7.c debug8.c debug9.c test-encode-basic.c test-encode-complex-in.c test-encode-complex-out.c test-encode-twice-in.c test-encode-twice-out.c test-many-datafiles-import.c test-romio-noncontig-pattern.c test-romio-noncontig-pattern2.c test-romio-noncontig-pattern3.c test-truncate.c

CVS commit program cvs at parl.clemson.edu
Mon May 17 12:58:13 EDT 2004


Update of /projects/cvsroot/pvfs2/test/io/description
In directory styx.parl.clemson.edu:/tmp/cvs-serv15405/io/description

Modified Files:
	debug1.c debug10.c debug11.c debug12.c debug2.c debug3.c 
	debug4.c debug5.c debug6.c debug7.c debug8.c debug9.c 
	test-encode-basic.c test-encode-complex-in.c 
	test-encode-complex-out.c test-encode-twice-in.c 
	test-encode-twice-out.c test-many-datafiles-import.c 
	test-romio-noncontig-pattern.c test-romio-noncontig-pattern2.c 
	test-romio-noncontig-pattern3.c test-truncate.c 
Log Message:
Updates for distribution renaming, and added test case for creation with
user specified distributions.


Index: debug1.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug1.c,v
diff -p -u -r1.9 -r1.10
--- debug1.c	13 May 2004 14:50:26 -0000	1.9
+++ debug1.c	17 May 2004 15:58:13 -0000	1.10
@@ -10,7 +10,6 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include "pvfs-distribution.h"
 #include "pint-distribution.h"
 #include "pvfs2-request.h"
 #include "pint-request.h"
@@ -52,9 +51,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 1;
 	rf1.fsize = 0;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* file data for second request is the same, except the file
 	 * will have grown by 10M 
@@ -62,9 +61,9 @@ int main(int argc, char **argv)
 	rf2.server_nr = 0;
 	rf2.server_ct = 1;
 	rf2.fsize = 10*1024*1024;
-	rf2.dist = PVFS_dist_create("simple_stripe");
+	rf2.dist = PINT_dist_create("simple_stripe");
 	rf2.extend_flag = 1;
-	PINT_Dist_lookup(rf2.dist);
+	PINT_dist_lookup(rf2.dist);
 
 	/* set up result structures */
 

Index: debug10.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug10.c,v
diff -p -u -r1.6 -r1.7
--- debug10.c	13 May 2004 14:50:26 -0000	1.6
+++ debug10.c	17 May 2004 15:58:13 -0000	1.7
@@ -10,12 +10,10 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -46,9 +44,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 4;
 	rf1.fsize = 0;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: debug11.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug11.c,v
diff -p -u -r1.5 -r1.6
--- debug11.c	13 May 2004 14:50:26 -0000	1.5
+++ debug11.c	17 May 2004 15:58:13 -0000	1.6
@@ -10,12 +10,10 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -46,9 +44,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 4;
 	rf1.fsize = 6000;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 0;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: debug12.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug12.c,v
diff -p -u -r1.5 -r1.6
--- debug12.c	13 May 2004 14:50:26 -0000	1.5
+++ debug12.c	17 May 2004 15:58:13 -0000	1.6
@@ -10,12 +10,10 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -42,9 +40,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 4;
 	rf1.fsize = 6000;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 0;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: debug2.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug2.c,v
diff -p -u -r1.12 -r1.13
--- debug2.c	13 May 2004 14:50:26 -0000	1.12
+++ debug2.c	17 May 2004 15:58:13 -0000	1.13
@@ -11,12 +11,10 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (1024*1024)
 
@@ -92,30 +90,30 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 4;
 	rf1.fsize = 0;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	rf2.server_nr = 1;
 	rf2.server_ct = 4;
 	rf2.fsize = 0;
-	rf2.dist = PVFS_dist_create("simple_stripe");
+	rf2.dist = PINT_dist_create("simple_stripe");
 	rf2.extend_flag = 1;
-	PINT_Dist_lookup(rf2.dist);
+	PINT_dist_lookup(rf2.dist);
 
 	rf3.server_nr = 2;
 	rf3.server_ct = 4;
 	rf3.fsize = 0;
-	rf3.dist = PVFS_dist_create("simple_stripe");
+	rf3.dist = PINT_dist_create("simple_stripe");
 	rf3.extend_flag = 1;
-	PINT_Dist_lookup(rf3.dist);
+	PINT_dist_lookup(rf3.dist);
 
 	rf4.server_nr = 3;
 	rf4.server_ct = 4;
 	rf4.fsize = 0;
-	rf4.dist = PVFS_dist_create("simple_stripe");
+	rf4.dist = PINT_dist_create("simple_stripe");
 	rf4.extend_flag = 1;
-	PINT_Dist_lookup(rf4.dist);
+	PINT_dist_lookup(rf4.dist);
 
 	/* set up response for each server */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: debug3.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug3.c,v
diff -p -u -r1.12 -r1.13
--- debug3.c	13 May 2004 14:50:26 -0000	1.12
+++ debug3.c	17 May 2004 15:58:13 -0000	1.13
@@ -11,12 +11,10 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -81,9 +79,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 2;
 	rf1.fsize = 0;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up response struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: debug4.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug4.c,v
diff -p -u -r1.11 -r1.12
--- debug4.c	13 May 2004 14:50:26 -0000	1.11
+++ debug4.c	17 May 2004 15:58:13 -0000	1.12
@@ -10,12 +10,10 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -48,9 +46,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 3;
 	rf1.fsize = 8454144;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 0;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* file data for second request is the same, except the file
 	 * will have grown by 10M 
@@ -58,9 +56,9 @@ int main(int argc, char **argv)
 	rf2.server_nr = 0;
 	rf2.server_ct = 3;
 	rf2.fsize = 8454144;
-	rf2.dist = PVFS_dist_create("simple_stripe");
+	rf2.dist = PINT_dist_create("simple_stripe");
 	rf2.extend_flag = 0;
-	PINT_Dist_lookup(rf2.dist);
+	PINT_dist_lookup(rf2.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: debug5.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug5.c,v
diff -p -u -r1.11 -r1.12
--- debug5.c	13 May 2004 14:50:26 -0000	1.11
+++ debug5.c	17 May 2004 15:58:13 -0000	1.12
@@ -10,12 +10,10 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -44,16 +42,16 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 3;
 	rf1.fsize = 8454144;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 0;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	rf2.server_nr = 1;
 	rf2.server_ct = 3;
 	rf2.fsize = 8454144;
-	rf2.dist = PVFS_dist_create("simple_stripe");
+	rf2.dist = PINT_dist_create("simple_stripe");
 	rf2.extend_flag = 0;
-	PINT_Dist_lookup(rf2.dist);
+	PINT_dist_lookup(rf2.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: debug6.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug6.c,v
diff -p -u -r1.10 -r1.11
--- debug6.c	13 May 2004 14:50:26 -0000	1.10
+++ debug6.c	17 May 2004 15:58:13 -0000	1.11
@@ -10,12 +10,10 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -39,9 +37,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 1;
 	rf1.fsize = 0;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: debug7.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug7.c,v
diff -p -u -r1.12 -r1.13
--- debug7.c	13 May 2004 14:50:26 -0000	1.12
+++ debug7.c	17 May 2004 15:58:13 -0000	1.13
@@ -10,12 +10,10 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -40,9 +38,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 8;
 	rf1.fsize = 10000000;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: debug8.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug8.c,v
diff -p -u -r1.6 -r1.7
--- debug8.c	13 May 2004 14:50:26 -0000	1.6
+++ debug8.c	17 May 2004 15:58:13 -0000	1.7
@@ -10,12 +10,10 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -40,9 +38,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 8;
 	rf1.fsize = 10000000;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: debug9.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/debug9.c,v
diff -p -u -r1.6 -r1.7
--- debug9.c	13 May 2004 14:50:26 -0000	1.6
+++ debug9.c	17 May 2004 15:58:13 -0000	1.7
@@ -10,12 +10,10 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -46,9 +44,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 4;
 	rf1.fsize = 10000000;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: test-encode-basic.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/test-encode-basic.c,v
diff -p -u -r1.4 -r1.5
--- test-encode-basic.c	16 Oct 2003 14:42:22 -0000	1.4
+++ test-encode-basic.c	17 May 2004 15:58:13 -0000	1.5
@@ -12,11 +12,9 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
-
-#include <simple-stripe.h>
 
 #define SEGMAX 16
 #define BYTEMAX (1024*1024)

Index: test-encode-complex-in.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/test-encode-complex-in.c,v
diff -p -u -r1.4 -r1.5
--- test-encode-complex-in.c	13 May 2004 14:50:26 -0000	1.4
+++ test-encode-complex-in.c	17 May 2004 15:58:13 -0000	1.5
@@ -16,10 +16,9 @@
 #include <pvfs2-types.h>
 #include <gossip.h>
 #include <pvfs2-debug.h>
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
-#include <simple-stripe.h>
 
 #define SEGMAX 16
 #define BYTEMAX (1024*1024)
@@ -70,9 +69,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 4;
 	rf1.fsize = 6000;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 0;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: test-encode-complex-out.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/test-encode-complex-out.c,v
diff -p -u -r1.5 -r1.6
--- test-encode-complex-out.c	13 May 2004 14:50:26 -0000	1.5
+++ test-encode-complex-out.c	17 May 2004 15:58:13 -0000	1.6
@@ -16,10 +16,9 @@
 #include <pvfs2-types.h>
 #include <gossip.h>
 #include <pvfs2-debug.h>
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
-#include <simple-stripe.h>
 
 #define SEGMAX 16
 #define BYTEMAX (1024*1024)
@@ -72,9 +71,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 4;
 	rf1.fsize = 6000;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 0;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: test-encode-twice-in.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/test-encode-twice-in.c,v
diff -p -u -r1.4 -r1.5
--- test-encode-twice-in.c	13 May 2004 14:50:26 -0000	1.4
+++ test-encode-twice-in.c	17 May 2004 15:58:13 -0000	1.5
@@ -16,10 +16,9 @@
 #include <pvfs2-types.h>
 #include <gossip.h>
 #include <pvfs2-debug.h>
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
-#include <simple-stripe.h>
 
 #define SEGMAX 16
 #define BYTEMAX (1024*1024)
@@ -72,9 +71,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 1;
 	rf1.fsize = 508;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));
@@ -155,9 +154,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 1;
 	rf1.fsize = 508;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: test-encode-twice-out.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/test-encode-twice-out.c,v
diff -p -u -r1.5 -r1.6
--- test-encode-twice-out.c	13 May 2004 14:50:26 -0000	1.5
+++ test-encode-twice-out.c	17 May 2004 15:58:13 -0000	1.6
@@ -16,10 +16,9 @@
 #include <pvfs2-types.h>
 #include <gossip.h>
 #include <pvfs2-debug.h>
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
-#include <simple-stripe.h>
 
 #define SEGMAX 16
 #define BYTEMAX (1024*1024)
@@ -72,9 +71,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 2;
 	rf1.fsize = 508;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));
@@ -170,9 +169,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 2;
 	rf1.fsize = 508;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: test-many-datafiles-import.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/test-many-datafiles-import.c,v
diff -p -u -r1.4 -r1.5
--- test-many-datafiles-import.c	13 May 2004 14:50:26 -0000	1.4
+++ test-many-datafiles-import.c	17 May 2004 15:58:13 -0000	1.5
@@ -10,13 +10,11 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 #include <assert.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -52,9 +50,9 @@ int main(int argc, char **argv)
 	    rf1.server_nr = j;
 	    rf1.server_ct = 67;
 	    rf1.fsize = 41943040;
-	    rf1.dist = PVFS_dist_create("simple_stripe");
+	    rf1.dist = PINT_dist_create("simple_stripe");
 	    rf1.extend_flag = 1;
-	    PINT_Dist_lookup(rf1.dist);
+	    PINT_dist_lookup(rf1.dist);
 
 	    /* set up result struct */
 	    seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: test-romio-noncontig-pattern.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/test-romio-noncontig-pattern.c,v
diff -p -u -r1.5 -r1.6
--- test-romio-noncontig-pattern.c	13 May 2004 14:50:26 -0000	1.5
+++ test-romio-noncontig-pattern.c	17 May 2004 15:58:13 -0000	1.6
@@ -10,13 +10,11 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 #include <assert.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -68,9 +66,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 1;
 	rf1.fsize = 0;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: test-romio-noncontig-pattern2.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/test-romio-noncontig-pattern2.c,v
diff -p -u -r1.4 -r1.5
--- test-romio-noncontig-pattern2.c	13 May 2004 14:50:26 -0000	1.4
+++ test-romio-noncontig-pattern2.c	17 May 2004 15:58:13 -0000	1.5
@@ -10,13 +10,11 @@
 #include <gossip.h>
 #include <pvfs2-debug.h>
 
-#include <pvfs-distribution.h>
+#include <pint-distribution.h>
 #include <pvfs2-request.h>
 #include <pint-request.h>
 #include <assert.h>
 
-#include <simple-stripe.h>
-
 #define SEGMAX 16
 #define BYTEMAX (4*1024*1024)
 
@@ -63,9 +61,9 @@ int main(int argc, char **argv)
 	rf1.server_nr = 0;
 	rf1.server_ct = 1;
 	rf1.fsize = 0;
-	rf1.dist = PVFS_dist_create("simple_stripe");
+	rf1.dist = PINT_dist_create("simple_stripe");
 	rf1.extend_flag = 1;
-	PINT_Dist_lookup(rf1.dist);
+	PINT_dist_lookup(rf1.dist);
 
 	/* set up result struct */
 	seg1.offset_array = (int64_t *)malloc(SEGMAX * sizeof(int64_t));

Index: test-romio-noncontig-pattern3.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/test-romio-noncontig-pattern3.c,v
diff -p -u -r1.2 -r1.3
--- test-romio-noncontig-pattern3.c	13 May 2004 14:50:26 -0000	1.2
+++ test-romio-noncontig-pattern3.c	17 May 2004 15:58:13 -0000	1.3
@@ -12,10 +12,9 @@
 #include "pvfs2-types.h"
 #include "gossip.h"
 #include "pvfs2-debug.h"
-#include "pvfs-distribution.h"
+#include "pint-distribution.h"
 #include "pvfs2-request.h"
 #include "pint-request.h"
-#include "simple-stripe.h"
 
 #define SEGMAX 16
 #define BYTEMAX (256*1024)
@@ -67,9 +66,9 @@ int main(
     rf1.server_nr = 0;
     rf1.server_ct = 4;
     rf1.fsize = 0;
-    rf1.dist = PVFS_dist_create("simple_stripe");
+    rf1.dist = PINT_dist_create("simple_stripe");
     rf1.extend_flag = 1;
-    PINT_Dist_lookup(rf1.dist);
+    PINT_dist_lookup(rf1.dist);
 
     /* set up result struct */
     seg1.offset_array = (int64_t *) malloc(SEGMAX * sizeof(int64_t));

Index: test-truncate.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/description/test-truncate.c,v
diff -p -u -r1.2 -r1.3
--- test-truncate.c	13 May 2004 14:50:26 -0000	1.2
+++ test-truncate.c	17 May 2004 15:58:13 -0000	1.3
@@ -11,8 +11,6 @@
 #include "pvfs2-types.h"
 #include "gossip.h"
 #include "pvfs2-debug.h"
-#include "pvfs-distribution.h"
-#include "simple-stripe.h"
 #include "pint-distribution.h"
 
 void PINT_Dist_dump(PINT_dist *dist);
@@ -24,13 +22,13 @@ int main(int argc, char **argv)
     PVFS_offset tmp_off = 0;
 
     /* grab a distribution */
-    d = PVFS_dist_create("simple_stripe");
+    d = PINT_dist_create("simple_stripe");
     assert(d);
 
-    ret = PINT_Dist_lookup(d);
+    ret = PINT_dist_lookup(d);
     assert(ret == 0);
 
-    PINT_Dist_dump(d);
+    PINT_dist_dump(d);
 
     /* easy case */
     tmp_off = d->methods->logical_to_physical_offset(d->params, 0, 4, 100);
@@ -63,7 +61,7 @@ int main(int argc, char **argv)
 
 
     /* free dist */
-    PVFS_dist_free(d);
+    PINT_dist_free(d);
 
     return (0);
 }



More information about the PVFS2-CVS mailing list