[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/io/trove: trove.h

CVS commit program cvs at parl.clemson.edu
Wed Feb 6 14:52:31 EST 2008


Update of /projects/cvsroot/pvfs2-1/src/io/trove
In directory parlweb1:/tmp/cvs-serv24195/src/io/trove

Modified Files:
      Tag: small-file-branch
	trove.h 
Log Message:
give keyval iterate functions the ability to remove keys as they go;
untested


Index: trove.h
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/io/trove/trove.h,v
diff -p -u -r1.40.16.2 -r1.40.16.3
--- trove.h	5 Feb 2008 17:07:58 -0000	1.40.16.2
+++ trove.h	6 Feb 2008 19:52:31 -0000	1.40.16.3
@@ -60,7 +60,8 @@ enum
     TROVE_DB_CACHE_MMAP          = 1 << 5,
     TROVE_DB_CACHE_SYS           = 1 << 6,
     TROVE_KEYVAL_HANDLE_COUNT    = 1 << 7,
-    TROVE_BINARY_KEY             = 1 << 8
+    TROVE_BINARY_KEY             = 1 << 8, /* tell trove this is a binary key */
+    TROVE_KEYVAL_ITERATE_REMOVE  = 1 << 9  /* tell trove to delete keyvals as it iterates */
 };
 
 enum



More information about the Pvfs2-cvs mailing list