diff options
Diffstat (limited to 'source4/cluster/ctdb/include/ctdb_private.h')
-rw-r--r-- | source4/cluster/ctdb/include/ctdb_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/cluster/ctdb/include/ctdb_private.h b/source4/cluster/ctdb/include/ctdb_private.h index d373e3af32..89643eff0f 100644 --- a/source4/cluster/ctdb/include/ctdb_private.h +++ b/source4/cluster/ctdb/include/ctdb_private.h @@ -93,6 +93,7 @@ struct ctdb_context { const struct ctdb_methods *methods; /* transport methods */ const struct ctdb_upcalls *upcalls; /* transport upcalls */ void *private; /* private to transport */ + unsigned max_lacount; }; #define CTDB_NO_MEMORY(ctdb, p) do { if (!(p)) { \ @@ -115,7 +116,7 @@ struct ctdb_context { /* number of consecutive calls from the same node before we give them the record */ -#define CTDB_MAX_LACOUNT 7000 +#define CTDB_DEFAULT_MAX_LACOUNT 7 /* the extended header for records in the ltdb |