mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
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 <lundman@lundman.net> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #9670
This commit is contained in:
committed by
Brian Behlendorf
parent
2a8ba608d3
commit
e64e84eca5
@@ -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 { \
|
||||
|
||||
Reference in New Issue
Block a user