Created attachment 185875 [details]
sys/cddl: Allow to modify the ZFS deadman sysctls after the system is up
The attached patch changes the ZFS deadman sysctls from CTLFLAG_RDTUN
to CTLFLAG_RWTUN so they can be changed after the system is up.
There does not seem to be a technical reason why it shouldn't
be done and being able to temporarily disable the deadman
is useful when importing a pool that is backed by remote
storage (such as ggated running as onion service).
Obtained from: ElectroBSD