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:
mav 2016-03-20 19:14:51 +00:00
parent 4796073791
commit c46c1536ee

View File

@ -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
}
/*