Reschedule the 'deadman' callout after handling, this makes our
code behave more like it is on Solaris. Reported by: avg Reviewed by: avg, mav (but bugs are mine) Differential Revision: https://phabric.freebsd.org/D457
This commit is contained in:
parent
15fc287383
commit
343c95a24e
@ -570,6 +570,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…
Reference in New Issue
Block a user