Add a delete_queue to the ctdb database context struct.
authorMichael Adam <obnox@samba.org>
Wed, 22 Dec 2010 13:50:53 +0000 (14:50 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 9 Mar 2011 23:37:00 +0000 (00:37 +0100)
This list will be filled by the client using a new
delete control. The list will then be used to implement
a fast-path vacuuming that will traverse this list instead
of traversing the database.

include/ctdb_private.h

index 447d40ce3f7fe40baa941c13228b8e7e47974761..dc04a22f061bbf0c83c0bc3e9dc00a5cd4e0a953 100644 (file)
@@ -514,6 +514,7 @@ struct ctdb_db_context {
        struct lockwait_handle *lockwait_active;
        struct lockwait_handle *lockwait_overflow;
        struct ctdb_persistent_state *persistent_state;
+       struct trbt_tree *delete_queue;
 };