MFC r269222: Reschedule the 'deadman' callout after handling, this makes our
code behave more like it is on Solaris. Differential Revision: https://phabric.freebsd.org/D457
This commit is contained in:
parent
4796073791
commit
c46c1536ee
@ -608,6 +608,12 @@ spa_deadman(void *arg)
|
||||
++spa->spa_deadman_calls);
|
||||
if (zfs_deadman_enabled)
|
||||
vdev_deadman(spa->spa_root_vdev);
|
||||
#ifdef __FreeBSD__
|
||||
#ifdef _KERNEL
|
||||
callout_schedule(&spa->spa_deadman_cycid,
|
||||
hz * zfs_deadman_checktime_ms / MILLISEC);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user