[PVFS2-CVS]
commit by rbross in pvfs2/include: pvfs2-mgmt.h pvfs2-types.h
CVS commit program
cvs at parl.clemson.edu
Sun Feb 15 00:03:51 EST 2004
Update of /projects/cvsroot/pvfs2/include
In directory parlweb:/tmp/cvs-serv20516/include
Modified Files:
pvfs2-mgmt.h pvfs2-types.h
Log Message:
Added PVFS_EPARTIAL (for now anyway; would like a little better name!).
Added error_array to PVFS_mgmt_statfs_list(); dropped in NULL placeholder in
all calls to it.
Added allocation of error array in karma/comm.c to hold particular errors.
Note: none of this is actually *used* yet.
Index: pvfs2-mgmt.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-mgmt.h,v
diff -p -u -r1.27 -r1.28
--- pvfs2-mgmt.h 4 Feb 2004 00:35:24 -0000 1.27
+++ pvfs2-mgmt.h 15 Feb 2004 05:03:51 -0000 1.28
@@ -139,6 +139,7 @@ int PVFS_mgmt_statfs_list(
PVFS_credentials credentials,
struct PVFS_mgmt_server_stat* stat_array,
PVFS_id_gen_t* addr_array,
+ int *error_array,
int count);
int PVFS_mgmt_statfs_all(
Index: pvfs2-types.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-types.h,v
diff -p -u -r1.75 -r1.76
--- pvfs2-types.h 14 Feb 2004 19:48:21 -0000 1.75
+++ pvfs2-types.h 15 Feb 2004 05:03:51 -0000 1.76
@@ -358,6 +358,7 @@ extern int32_t PINT_errno_mapping[];
#define PVFS_EHOSTDOWN (55|(PVFS_ERROR_BIT)) /* Host is down */
#define PVFS_EHOSTUNREACH (56|(PVFS_ERROR_BIT)) /* No route to host */
#define PVFS_EALREADY (57|(PVFS_ERROR_BIT)) /* Operation already in progress */
+#define PVFS_EPARTIAL (58|(PVFS_ERROR_BIT)) /* Operation was only partially successful */
/* NOTE: PLEASE DO NOT ARBITRARILY ADD NEW ERROR CODES!
*
@@ -366,7 +367,7 @@ extern int32_t PINT_errno_mapping[];
* A MAPPING TO A UNIX ERRNO VALUE IN src/common/misc/errno-mapping.c
*/
-#define PVFS_ERRNO_MAX 57
+#define PVFS_ERRNO_MAX 58
/* PVFS I/O operation types, used in both system and server interfaces */
enum PVFS_io_type {
More information about the PVFS2-CVS
mailing list