freebsd-dev/sys/cddl/compat/opensolaris
Martin Matuska e70664bafc MFV v242732:
Merge the ZFS I/O deadman thread from vendor (illumos).
This feature panics the system on hanging ZFS I/O, helps debugging
and resumes failed service.

The panic behavior can be controlled with the loader-only tunables:
vfs.zfs.deadman_enabled (enable or disable panic on stalled ZFS I/O)
vfs.zfs.deadman_synctime (expiration time for stalled ZFS I/O)

By default, ZFS I/O deadman is enabled by default on amd64 and i386
excluding virtual guest machines.

Illumos ZFS issues:
  3246 ZFS I/O deadman thread

References:
  https://www.illumos.org/issues/3246

MFC after:	2 weeks
2013-02-25 12:33:31 +00:00
..
kern Renamed zfs trim stats removing duplicate zio_trim identifier from the name 2012-12-12 16:14:14 +00:00
rpc Our libc doesn't implement control method for XDR (only kernel does) and it 2009-08-20 00:05:29 +00:00
sys MFV v242732: 2013-02-25 12:33:31 +00:00