summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-10-30 12:37:15 +1100
committerMartin Schwenke <martin@meltin.net>2013-10-30 15:37:11 +1100
commit41d37058cadc2043ca61eaaa4585335b6d482ff3 (patch)
tree0a221da4d6ad625dc1c36f0c689d3f987801099d
parent62076d308921b7a2b9ded557d3442da8b06a0da7 (diff)
downloadsamba-41d37058cadc2043ca61eaaa4585335b6d482ff3.tar.gz
samba-41d37058cadc2043ca61eaaa4585335b6d482ff3.tar.xz
samba-41d37058cadc2043ca61eaaa4585335b6d482ff3.zip
tunables: Remove obsolete tunables
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit ca5fc3431573c44d55d09d987c715fb53756fc1f)
-rw-r--r--ctdb/include/ctdb_private.h3
-rw-r--r--ctdb/server/ctdb_tunables.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index e961b9310a..b4966b8807 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -102,12 +102,9 @@ struct ctdb_tunable {
uint32_t recovery_drop_all_ips;
uint32_t verify_recovery_lock;
uint32_t vacuum_interval;
- uint32_t vacuum_default_interval;
uint32_t vacuum_max_run_time;
uint32_t repack_limit;
uint32_t vacuum_limit;
- uint32_t vacuum_min_interval;
- uint32_t vacuum_max_interval;
uint32_t max_queue_depth_drop_msg;
uint32_t use_status_events_for_monitoring;
uint32_t allow_unhealthy_db_read;
diff --git a/ctdb/server/ctdb_tunables.c b/ctdb/server/ctdb_tunables.c
index 4c139ea2a6..f760cb57bd 100644
--- a/ctdb/server/ctdb_tunables.c
+++ b/ctdb/server/ctdb_tunables.c
@@ -59,12 +59,9 @@ static const struct {
{ "RecoveryDropAllIPs", 120, offsetof(struct ctdb_tunable, recovery_drop_all_ips), false },
{ "VerifyRecoveryLock", 1, offsetof(struct ctdb_tunable, verify_recovery_lock), false },
{ "VacuumInterval", 10, offsetof(struct ctdb_tunable, vacuum_interval), false },
- { "VacuumDefaultInterval", 10, offsetof(struct ctdb_tunable, vacuum_default_interval), true },
{ "VacuumMaxRunTime", 120, offsetof(struct ctdb_tunable, vacuum_max_run_time), false },
{ "RepackLimit", 10000, offsetof(struct ctdb_tunable, repack_limit), false },
{ "VacuumLimit", 5000, offsetof(struct ctdb_tunable, vacuum_limit), false },
- { "VacuumMinInterval", 10, offsetof(struct ctdb_tunable, vacuum_min_interval), true },
- { "VacuumMaxInterval", 10, offsetof(struct ctdb_tunable, vacuum_max_interval), true },
{ "VacuumFastPathCount", 60, offsetof(struct ctdb_tunable, vacuum_fast_path_count), false },
{ "MaxQueueDropMsg", 1000000, offsetof(struct ctdb_tunable, max_queue_depth_drop_msg), false },
{ "UseStatusEvents", 0, offsetof(struct ctdb_tunable, use_status_events_for_monitoring), false },