diff options
| author | Ryan Libby <rlibby@FreeBSD.org> | 2026-06-18 03:52:53 +0000 |
|---|---|---|
| committer | Ryan Libby <rlibby@FreeBSD.org> | 2026-06-18 04:05:43 +0000 |
| commit | 08180f1b613b6fe000135efa28b7c3293cbf1683 (patch) | |
| tree | 00a11459d8f3aff011a0a845abaa4c500d3851fc /include | |
| parent | 572680712c317b81d66475203ac1b9d6bbeca5d5 (diff) | |
witness: actually set read-only tunables in time for witness_startup
SYSCTL_XXX with CTLFLAG_RDTUN and without CTLFLAG_NOFETCH should not be
used for values that are needed before SI_SUB_KLD. Otherwise they are
tuned after they are needed. Set CTLFLAG_RDTUN | CTLFLAG_NOFETCH for
the debug.witness.witness_count and debug.witness.skipspin sysctls and
add separate tunables for them, which run at SI_SUB_TUNABLES time, i.e.,
in time for witness_startup.
Reviewed by: kib, markj
Sponsored by: Dell Inc.
Differential Revision: https://reviews.freebsd.org/D57613
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
