summaryrefslogtreecommitdiffstats
path: root/ctdb/server/ctdb_tunables.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2012-03-20 11:31:59 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2012-03-20 11:39:00 +1100
commitc051f67d674beb52419c4c30b163db397e7861b2 (patch)
tree9778cc727e550b242a9c69870058b1b935f9b662 /ctdb/server/ctdb_tunables.c
parent038c946e80b9f710e5949876bbd763033ab8e5ce (diff)
downloadsamba-c051f67d674beb52419c4c30b163db397e7861b2.tar.gz
samba-c051f67d674beb52419c4c30b163db397e7861b2.tar.xz
samba-c051f67d674beb52419c4c30b163db397e7861b2.zip
FETCH COLLAPSE : Change the fetch-lock collapse to collapse ALL fetches, including fetch-locks into a single command in flight per record. Also add a tunable to enable/disable this optimization for hot records
(This used to be ctdb commit eafd7bbaaa5931546a96c8beae3cf9a39a49c925)
Diffstat (limited to 'ctdb/server/ctdb_tunables.c')
-rw-r--r--ctdb/server/ctdb_tunables.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_tunables.c b/ctdb/server/ctdb_tunables.c
index 76af85d4c6e..016acc44671 100644
--- a/ctdb/server/ctdb_tunables.c
+++ b/ctdb/server/ctdb_tunables.c
@@ -73,7 +73,8 @@ static const struct {
{ "DeferredAttachTO", 120, offsetof(struct ctdb_tunable, deferred_attach_timeout), false },
{ "AllowClientDBAttach", 1, offsetof(struct ctdb_tunable, allow_client_db_attach), false },
{ "RecoverPDBBySeqNum", 0, offsetof(struct ctdb_tunable, recover_pdb_by_seqnum), false },
- { "DeferredRebalanceOnNodeAdd", 300, offsetof(struct ctdb_tunable, deferred_rebalance_on_node_add) }
+ { "DeferredRebalanceOnNodeAdd", 300, offsetof(struct ctdb_tunable, deferred_rebalance_on_node_add) },
+ { "FetchCollapse", 1, offsetof(struct ctdb_tunable, fetch_collapse) }
};
/*