summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ctdb/server/ctdb_tunables.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ctdb/server/ctdb_tunables.c b/ctdb/server/ctdb_tunables.c
index f5713f8d41..544a9e0397 100644
--- a/ctdb/server/ctdb_tunables.c
+++ b/ctdb/server/ctdb_tunables.c
@@ -171,6 +171,12 @@ int32_t ctdb_control_set_tunable(struct ctdb_context *ctdb, TDB_DATA indata)
*(uint32_t *)(tunable_map[i].offset + (uint8_t*)&ctdb->tunable) = t->value;
+ if (tunable_map[i].obsolete) {
+ DEBUG(DEBUG_WARNING,
+ ("Setting obsolete tunable \"%s\"\n",
+ tunable_map[i].name));
+ }
+
return 0;
}