From 41d37058cadc2043ca61eaaa4585335b6d482ff3 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Wed, 30 Oct 2013 12:37:15 +1100 Subject: [PATCH] tunables: Remove obsolete tunables Signed-off-by: Amitay Isaacs (This used to be ctdb commit ca5fc3431573c44d55d09d987c715fb53756fc1f) --- ctdb/include/ctdb_private.h | 3 --- ctdb/server/ctdb_tunables.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index e961b9310a1..b4966b8807c 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 4c139ea2a60..f760cb57bd6 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 }, -- 2.11.4.GIT