diff options
author | Matthew Macy <[email protected]> | 2019-10-31 09:52:22 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-10-31 09:52:22 -0700 |
commit | 2a3aa5a109bffb6cd350bb9e978292358c104f8f (patch) | |
tree | 8bde7c582976aa3369191b620d57dcb205d1d2fe /include/sys/spa.h | |
parent | 936e2d6d3ea8745d8a4148ec9fa7b060fd64448a (diff) |
Factor Linux specific code out of spa_misc.c
Move these Linux module parameter get/set helpers in to
platform specific code.
Reviewed-by: Igor Kozhukhov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #9457
Diffstat (limited to 'include/sys/spa.h')
-rw-r--r-- | include/sys/spa.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/spa.h b/include/sys/spa.h index 3780fdae0..cb9157738 100644 --- a/include/sys/spa.h +++ b/include/sys/spa.h @@ -1171,6 +1171,11 @@ extern int spa_wait_tag(const char *name, zpool_wait_activity_t activity, extern void spa_notify_waiters(spa_t *spa); extern void spa_wake_waiters(spa_t *spa); +/* module param call functions */ +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); + #ifdef ZFS_DEBUG #define dprintf_bp(bp, fmt, ...) do { \ if (zfs_flags & ZFS_DEBUG_DPRINTF) { \ |