[PVFS2-CVS]
commit by neill in pvfs2/src/io/trove/trove-dbpf: dbpf-open-cache.h
CVS commit program
cvs at parl.clemson.edu
Wed Sep 15 15:46:22 EDT 2004
Update of /projects/cvsroot/pvfs2/src/io/trove/trove-dbpf
In directory parlweb:/tmp/cvs-serv25854/src/io/trove/trove-dbpf
Modified Files:
dbpf-open-cache.h
Log Message:
- modify server side remove state machine to check the k_size of the
dirdata object being removed if it's a directory to report early
back to the client that the directory is not empty (if it's not)
- remove the readdir checks in the client remove path now that the
server-side remove can tell us directly if a directory is not empty
- modified PVFS specific error routines to print the value of
unrecognized error codes if encountered
- some cleanups
Index: dbpf-open-cache.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/trove/trove-dbpf/dbpf-open-cache.h,v
diff -p -u -r1.4 -r1.5
--- dbpf-open-cache.h 28 Jul 2004 14:32:50 -0000 1.4
+++ dbpf-open-cache.h 15 Sep 2004 18:46:22 -0000 1.5
@@ -43,10 +43,9 @@ int dbpf_open_cache_remove(
TROVE_coll_id coll_id,
TROVE_handle handle);
-#define dbpf_open_cache_attr_get( \
- __coll_id, __create_flag, __out_ref) \
- dbpf_open_cache_get(__coll_id, TROVE_HANDLE_NULL, \
- __create_flag, DBPF_OPEN_DB, __out_ref)
+#define dbpf_open_cache_attr_get(__coll_id, __create_flag, __out_ref)\
+dbpf_open_cache_get(__coll_id, TROVE_HANDLE_NULL, __create_flag, \
+ DBPF_OPEN_DB, __out_ref)
#define dbpf_open_cache_attr_put dbpf_open_cache_put
More information about the PVFS2-CVS
mailing list