diff options
author | Ryan Moeller <[email protected]> | 2020-02-10 16:11:30 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-10 13:11:30 -0800 |
commit | 57940b435cd1dab6529babcda095c47ecee8a8e9 (patch) | |
tree | 49a16dceaf58e2350636ecd335209b21846ff3ef /include/sys | |
parent | 572b5b302a8353814f8631085fcdb7623698b191 (diff) |
Share some code for spa deadman tunables
We need to do the same thing to update all spas on any OS for these
tunables, so let's share the code.
While here let's match the types of the literals initializing the
variables with the type of the variable.
Reviewed-by: Allan Jude <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Olaf Faaland <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #9964
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/spa_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/spa_impl.h b/include/sys/spa_impl.h index 9ee04eb25..02cb48057 100644 --- a/include/sys/spa_impl.h +++ b/include/sys/spa_impl.h @@ -445,6 +445,8 @@ extern sysevent_t *spa_event_create(spa_t *spa, vdev_t *vd, nvlist_t *hist_nvl, const char *name); extern void spa_event_post(sysevent_t *ev); extern int param_set_deadman_failmode_common(const char *val); +extern void spa_set_deadman_synctime(hrtime_t ns); +extern void spa_set_deadman_ziotime(hrtime_t ns); #ifdef __cplusplus } |