summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-12-22 14:50:53 +0100
committerMichael Adam <obnox@samba.org>2011-03-14 13:35:45 +0100
commitcd061f3deec197778793161ed2fbee30b12b336f (patch)
treedf03f1935b7511150d372e4f872598ed80a6d8fa
parentdbb520b6ad23b7c68c3280ee37e343ab2680cbd3 (diff)
downloadsamba-cd061f3deec197778793161ed2fbee30b12b336f.tar.gz
samba-cd061f3deec197778793161ed2fbee30b12b336f.tar.xz
samba-cd061f3deec197778793161ed2fbee30b12b336f.zip
Add a delete_queue to the ctdb database context struct.
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. (This used to be ctdb commit 9bbedf786b26bb074f668b31f29a9032af958673)
-rw-r--r--ctdb/include/ctdb_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 68877ecae8..6cd49850e8 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -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;
};