diff options
author | Ryan Moeller <[email protected]> | 2020-06-23 16:32:42 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-23 13:32:42 -0700 |
commit | 9192f27c1d7a8cb367d8691277573f2b756b47b6 (patch) | |
tree | 7a51da8b4877cbb24171b7a95bad5104d06dfcce /include/sys | |
parent | 2451a553681fac5e7e42bd794adbf5587bce6749 (diff) |
Add zfs_multihost_interval tunable handler for FreeBSD
This tunable required a handler to be implemented for
ZFS_MODULE_PARAM_CALL.
Add the handler so the tunable can be declared in common code.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10490
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/mmp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/mmp.h b/include/sys/mmp.h index 527e3323b..ce9c4496a 100644 --- a/include/sys/mmp.h +++ b/include/sys/mmp.h @@ -63,6 +63,7 @@ extern void mmp_update_uberblock(struct spa *spa, struct uberblock *ub); extern void mmp_signal_all_threads(void); /* Global tuning */ +extern int param_set_multihost_interval(ZFS_MODULE_PARAM_ARGS); extern ulong_t zfs_multihost_interval; extern uint_t zfs_multihost_fail_intervals; extern uint_t zfs_multihost_import_intervals; |