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>
Mon, 14 Mar 2011 12:35:45 +0000 (13:35 +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 68877ecae87b12b3760b2a49d9fb62547827ad79..6cd49850e86a42f8a2ab3f68edf654a4a4fc9102 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;
 };