diff options
author | Matthew Macy <[email protected]> | 2019-12-05 12:40:45 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-12-05 12:40:45 -0800 |
commit | e64e84eca57966cff1314d61f5b9557876e856e3 (patch) | |
tree | a436377c9184fb2be46f1286a29edf943a94f264 /include/sys/spa.h | |
parent | 2a8ba608d3eace43010174aa4f67c8b8af4aacf3 (diff) |
Refactor deadman set failmode to be cross platform
Update zfs_deadman_failmode to use the ZFS_MODULE_PARAM_CALL
wrapper, and split the common and platform specific portions.
Reviewed-by: Jorgen Lundman <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #9670
Diffstat (limited to 'include/sys/spa.h')
-rw-r--r-- | include/sys/spa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/spa.h b/include/sys/spa.h index e460dc2dd..780119e9a 100644 --- a/include/sys/spa.h +++ b/include/sys/spa.h @@ -1182,6 +1182,7 @@ extern void spa_wake_waiters(spa_t *spa); int param_set_deadman_ziotime(const char *val, zfs_kernel_param_t *kp); int param_set_deadman_synctime(const char *val, zfs_kernel_param_t *kp); int param_set_slop_shift(const char *buf, zfs_kernel_param_t *kp); +int param_set_deadman_failmode(const char *val, zfs_kernel_param_t *kp); #ifdef ZFS_DEBUG #define dprintf_bp(bp, fmt, ...) do { \ |