git.samba.org
/
obnox
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11ca77
)
Add a delete_queue to the ctdb database context struct.
author
Michael Adam
<obnox@samba.org>
Wed, 22 Dec 2010 13:50:53 +0000
(14:50 +0100)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/include/ctdb_private.h
b/include/ctdb_private.h
index 68877ecae87b12b3760b2a49d9fb62547827ad79..6cd49850e86a42f8a2ab3f68edf654a4a4fc9102 100644
(file)
--- a/
include/ctdb_private.h
+++ b/
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;
};