[Pvfs2-cvs] commit by slang in pvfs2/test/client/sysint: client.c create-with-dist.c create.c create.set.get.eattr.c flush-1.c flush-2.c io-bug.c io-hole.c io-test-offset.c io-test.c test-accesses.c test-create-scale.c test-hindexed-test.c

CVS commit program cvs at parl.clemson.edu
Fri Jul 6 01:23:23 EDT 2007


Update of /projects/cvsroot/pvfs2/test/client/sysint
In directory parlweb1:/tmp/cvs-serv22962/test/client/sysint

Modified Files:
	client.c create-with-dist.c create.c create.set.get.eattr.c 
	flush-1.c flush-2.c io-bug.c io-hole.c io-test-offset.c 
	io-test.c test-accesses.c test-create-scale.c 
	test-hindexed-test.c 
Log Message:
new layout parameter for PVFS_[i]sys_create


Index: client.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/client.c,v
diff -p -u -r1.47 -r1.48
--- client.c	28 Jul 2004 14:32:58 -0000	1.47
+++ client.c	6 Jul 2007 05:23:22 -0000	1.48
@@ -122,7 +122,7 @@ int main(
 
     // call create 
     ret = PVFS_sys_create(entry_name, parent_refn, attr,
-			  &credentials, NULL, resp_create);
+			  &credentials, NULL, NULL, resp_create);
     if (ret < 0)
     {
 	printf("create failed with errcode = %d\n", ret);

Index: create-with-dist.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/create-with-dist.c,v
diff -p -u -r1.7 -r1.8
--- create-with-dist.c	11 Nov 2005 21:31:12 -0000	1.7
+++ create-with-dist.c	6 Jul 2007 05:23:22 -0000	1.8
@@ -102,7 +102,7 @@ int main(int argc, char **argv)
     /*printf("strip size: %i\n",
       ((PVFS_simple_stripe_params*)dist->params)->strip_size);*/
     ret = PVFS_sys_create(entry_name, parent_refn, attr,
-                          &credentials, dist, &resp_create);
+                          &credentials, dist, NULL, &resp_create);
     if (ret < 0)
     {
         PVFS_perror("create failed with errcode", ret);

Index: create.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/create.c,v
diff -p -u -r1.42 -r1.43
--- create.c	11 Nov 2005 21:31:12 -0000	1.42
+++ create.c	6 Jul 2007 05:23:22 -0000	1.43
@@ -82,7 +82,7 @@ int main(int argc, char **argv)
            str_buf, llu(parent_refn.handle));
 
     ret = PVFS_sys_create(entry_name, parent_refn, attr,
-                          &credentials, NULL, &resp_create);
+                          &credentials, NULL, NULL, &resp_create);
     if (ret < 0)
     {
         PVFS_perror("create failed with errcode", ret);

Index: create.set.get.eattr.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/create.set.get.eattr.c,v
diff -p -u -r1.5 -r1.6
--- create.set.get.eattr.c	11 Nov 2005 21:31:12 -0000	1.5
+++ create.set.get.eattr.c	6 Jul 2007 05:23:22 -0000	1.6
@@ -89,7 +89,7 @@ int main(int argc, char **argv)
            str_buf, llu(parent_refn.handle));
 
     ret = PVFS_sys_create(entry_name, parent_refn, attr,
-                          &credentials, NULL, &resp_create);
+                          &credentials, NULL, NULL, &resp_create);
     if (ret < 0)
     {
         PVFS_perror("create failed with errcode", ret);

Index: flush-1.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/flush-1.c,v
diff -p -u -r1.16 -r1.17
--- flush-1.c	11 Nov 2005 21:31:12 -0000	1.16
+++ flush-1.c	6 Jul 2007 05:23:22 -0000	1.17
@@ -80,7 +80,7 @@ int main(int argc, char **argv)
     parent_refn.fs_id = cur_fs;
 
     ret = PVFS_sys_create(entry_name, parent_refn, attr,
-                          &credentials, NULL, &resp_create);
+                          &credentials, NULL, NULL, &resp_create);
     if (ret < 0)
     {
         printf("create failed with errcode = %d\n", ret);

Index: flush-2.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/flush-2.c,v
diff -p -u -r1.20 -r1.21
--- flush-2.c	28 Jul 2004 14:32:58 -0000	1.20
+++ flush-2.c	6 Jul 2007 05:23:22 -0000	1.21
@@ -130,7 +130,7 @@ int main(
 	entry_name = &(filename[1]);	/* leave off slash */
 
 	ret = PVFS_sys_create(entry_name, parent_refn, attr,
-			      &credentials, NULL, &resp_cr);
+			      &credentials, NULL, NULL, &resp_cr);
 	if (ret < 0)
 	{
 	    fprintf(stderr, "Error: PVFS_sys_create() failure.\n");

Index: io-bug.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/io-bug.c,v
diff -p -u -r1.7 -r1.8
--- io-bug.c	6 Apr 2006 20:46:42 -0000	1.7
+++ io-bug.c	6 Jul 2007 05:23:22 -0000	1.8
@@ -136,7 +136,7 @@ int main(
 	entry_name = &(filename[1]);	/* leave off slash */
 
 	ret = PVFS_sys_create(entry_name, parent_refn, attr,
-			      &credentials, NULL, &resp_cr);
+			      &credentials, NULL, NULL, &resp_cr);
 	if (ret < 0)
 	{
 	    fprintf(stderr, "Error: PVFS_sys_create() failure.\n");

Index: io-hole.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/io-hole.c,v
diff -p -u -r1.3 -r1.4
--- io-hole.c	11 Nov 2005 21:31:12 -0000	1.3
+++ io-hole.c	6 Jul 2007 05:23:22 -0000	1.4
@@ -93,7 +93,7 @@ int main(int argc, char **argv)
         assert(entry_name);
 
 	ret = PVFS_sys_create(entry_name, parent_refn, attr,
-			      &credentials, NULL, &resp_cr);
+			      &credentials, NULL, NULL, &resp_cr);
 	if (ret < 0)
 	{
 	    PVFS_perror("PVFS_sys_create() failure", ret);

Index: io-test-offset.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/io-test-offset.c,v
diff -p -u -r1.25 -r1.26
--- io-test-offset.c	28 Jul 2004 14:32:58 -0000	1.25
+++ io-test-offset.c	6 Jul 2007 05:23:22 -0000	1.26
@@ -136,7 +136,7 @@ int main(
 	entry_name = &(filename[1]);	/* leave off slash */
 
 	ret = PVFS_sys_create(entry_name, parent_refn, attr,
-			      &credentials, NULL, &resp_cr);
+			      &credentials, NULL, NULL, &resp_cr);
 	if (ret < 0)
 	{
 	    fprintf(stderr, "Error: PVFS_sys_create() failure.\n");

Index: io-test.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/io-test.c,v
diff -p -u -r1.56 -r1.57
--- io-test.c	11 Nov 2005 21:31:12 -0000	1.56
+++ io-test.c	6 Jul 2007 05:23:22 -0000	1.57
@@ -111,7 +111,7 @@ int main(int argc, char **argv)
         assert(entry_name);
 
 	ret = PVFS_sys_create(entry_name, parent_refn, attr,
-			      &credentials, NULL, &resp_cr);
+			      &credentials, NULL, NULL, &resp_cr);
 	if (ret < 0)
 	{
 	    PVFS_perror("PVFS_sys_create() failure", ret);

Index: test-accesses.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/test-accesses.c,v
diff -p -u -r1.4 -r1.5
--- test-accesses.c	12 Apr 2006 15:26:47 -0000	1.4
+++ test-accesses.c	6 Jul 2007 05:23:22 -0000	1.5
@@ -84,7 +84,7 @@ int main(int argc, char * argv[])
 
     ret = PVFS_sys_create(
 	(char*)filename, 
-	lookup_resp.ref, attr, &creds, NULL, &create_resp);
+	lookup_resp.ref, attr, &creds, NULL, NULL, &create_resp);
     if(ret < 0) goto error;
 
     for(; i < count; ++i)

Index: test-create-scale.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/test-create-scale.c,v
diff -p -u -r1.5 -r1.6
--- test-create-scale.c	14 Jun 2004 21:48:44 -0000	1.5
+++ test-create-scale.c	6 Jul 2007 05:23:22 -0000	1.6
@@ -119,7 +119,7 @@ int main(int argc, char **argv)
     /* do one big one to prime connections if needed */
     sprintf(entry_name, "%s%d", str_buf, 0);
     ret = PVFS_sys_create(entry_name, parent_refn, attr,
-			  &credentials, NULL, &resp_create);
+			  &credentials, NULL, NULL, &resp_create);
     if (ret < 0)
     {
 	PVFS_perror("PVFS_sys_create", ret);
@@ -140,7 +140,7 @@ int main(int argc, char **argv)
 	    attr.dfile_count = i+1;
 	    start_time = Wtime();
 	    ret = PVFS_sys_create(entry_name, parent_refn, attr,
-				  &credentials, NULL, &resp_create);
+				  &credentials, NULL, NULL, &resp_create);
 	    end_time = Wtime();
 	    if (ret < 0)
 	    {

Index: test-hindexed-test.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/client/sysint/test-hindexed-test.c,v
diff -p -u -r1.3 -r1.4
--- test-hindexed-test.c	18 Aug 2006 15:08:19 -0000	1.3
+++ test-hindexed-test.c	6 Jul 2007 05:23:22 -0000	1.4
@@ -292,7 +292,7 @@ int main(int argc, char **argv)
 
     memset(&resp_create, 0, sizeof(PVFS_sysresp_create));
     ret = PVFS_sys_create(entry_name, parent_ref, attr,
-                          &credentials, NULL, &resp_create);
+                          &credentials, NULL, NULL, &resp_create);
     if (ret < 0)
     {
 			PVFS_perror("PVFS_sys_create", ret);



More information about the Pvfs2-cvs mailing list