[Pvfs2-cvs] commit by kunkel in pvfs2/test/shared: test-common.c

CVS commit program cvs at parl.clemson.edu
Sat Aug 19 09:09:43 EDT 2006


Update of /projects/cvsroot/pvfs2/test/shared
In directory parlweb1:/tmp/cvs-serv3901/test/shared

Modified Files:
      Tag: kunkel-branch
	test-common.c 
Log Message:
Added PVFS-hint, changed tests for pwrite/odirect/transactions/aio dbpf
 support to allow users to explicitly enable or disable the functionality.
In the aio implementation is a bug since somebody else modified it.


Index: test-common.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/shared/test-common.c,v
diff -p -u -r1.5.8.2 -r1.5.8.3
--- test-common.c	24 Jul 2006 17:21:33 -0000	1.5.8.2
+++ test-common.c	19 Aug 2006 13:09:43 -0000	1.5.8.3
@@ -339,7 +339,7 @@ int stat_file(
                                   szPvfsPath, 
                                   &credentials, 
                                   &lk_response, 
-                                  PVFS2_LOOKUP_LINK_FOLLOW);
+                                  PVFS2_LOOKUP_LINK_FOLLOW, NULL);
         }
         else
         {
@@ -347,7 +347,7 @@ int stat_file(
                                   szPvfsPath, 
                                   &credentials, 
                                   &lk_response, 
-                                  PVFS2_LOOKUP_LINK_NO_FOLLOW);
+                                  PVFS2_LOOKUP_LINK_NO_FOLLOW, NULL);
         }
    
         if(ret < 0)
@@ -362,7 +362,7 @@ int stat_file(
         ret = PVFS_sys_getattr(ref, 
                                PVFS_ATTR_SYS_ALL,
                                &credentials, 
-                               &getattr_response);
+                               &getattr_response, NULL);
 
         if(ret < 0)
         {                          
@@ -1001,7 +1001,7 @@ int pvfs2_open(
                               szPvfsPath, 
                               &credentials, 
                               &resp_lookup, 
-                              PVFS2_LOOKUP_LINK_FOLLOW);
+                              PVFS2_LOOKUP_LINK_FOLLOW, NULL);
     }
     else
     {
@@ -1009,7 +1009,7 @@ int pvfs2_open(
                               szPvfsPath, 
                               &credentials, 
                               &resp_lookup, 
-                              PVFS2_LOOKUP_LINK_NO_FOLLOW);
+                              PVFS2_LOOKUP_LINK_NO_FOLLOW, NULL);
     }
 
     if( (ret < 0) && 
@@ -1090,7 +1090,7 @@ int pvfs2_create_file(const char        
                           parentDirectory, 
                           (PVFS_credentials *) credentials, 
                           &resp_lookup, 
-                          PVFS2_LOOKUP_LINK_FOLLOW);
+                          PVFS2_LOOKUP_LINK_FOLLOW, NULL);
   
     if (ret < 0)
     {
@@ -1115,7 +1115,7 @@ int pvfs2_create_file(const char        
                           attr, 
                           (PVFS_credentials *) credentials,
                           NULL,           /* Accept default distribution for fs */
-                          &resp_create);
+                          &resp_create, NULL);
 
     if (ret < 0)
     {
@@ -1173,7 +1173,7 @@ int lookup_parent(char             * fil
                           szSegment, 
                           credentials, 
                           &resp_look, 
-                          PVFS2_LOOKUP_LINK_FOLLOW);
+                          PVFS2_LOOKUP_LINK_FOLLOW, NULL);
     if (ret < 0)
     {
         if(verbose)



More information about the Pvfs2-cvs mailing list