Bug 221906 - sys/cddl: Allow to modify the ZFS deadman sysctls after the system is up
Summary: sys/cddl: Allow to modify the ZFS deadman sysctls after the system is up
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-08-29 12:58 UTC by Fabian Keil
Modified: 2017-08-29 12:58 UTC (History)
0 users

See Also:
fk: mfc-stable11?


Attachments
sys/cddl: Allow to modify the ZFS deadman sysctls after the system is up (1.91 KB, patch)
2017-08-29 12:58 UTC, Fabian Keil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Keil 2017-08-29 12:58:46 UTC
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