comdb2 icon indicating copy to clipboard operation
comdb2 copied to clipboard

Dedup tunables: Merge tunables with enable/disable/dont/no prefixes

Open nirbhayc opened this issue 3 years ago • 0 comments

The change introduced by this PR essentially enables one to set/clear the value of any tunable of bool type, by prefixing its name with enable_ or disable_ respectively in the lrl. That is, to enable XYZ bool tunable one can add the following to the lrl:

enable_XYZ

Similarly, do disable it, add any of the following lines:

disable_XYZ
dont_XYZ
no_XYZ
noXYZ

** the other prefixes were added to have compatibility with existing tunable names.

As a side effect, this change cuts the total count of registered tunables by around 40.

nirbhayc avatar Dec 01 '21 22:12 nirbhayc