]> git.proxmox.com Git - mirror_zfs.git/commit - man/man5/zfs-module-parameters.5
Update deadman operation to better align with upstream OpenZFS
authorTim Chase <tim@chase2k.com>
Tue, 31 Jan 2017 22:19:08 +0000 (16:19 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Jan 2017 22:19:08 +0000 (14:19 -0800)
commitb81a3ddc3207dd832bd236f2ff20d409a0aee0b4
tree84df1b8bafdf78031652c959fbf442d4ce9b6861
parente24548975ccda48907bd7661ac0ef96b396c6d73
Update deadman operation to better align with upstream OpenZFS

The deadman in ZoL didn't behave quite as it did in upstream
OpenZFS.  In addition to the 2 purposes for which OpenZFS used the
zfs_deadman_synctime_ms parameter, ZoL also used it to determine how
frequently the deadman would fire once it has been triggered.

This patch adds the zfs_deadman_checktime_ms parameter to control how
frequently the subsequent checks are performed.

The deadman is now disabled for suspended pools.

As had been the case, unlike upstream OpenZFS, ZoL will not panic when
a hung IO is detected.

The module parameter documentation has been upated to include the new
parameter and to better describe the operation of the deadmen.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Tim Chase <tim@chase2k.com>
Closes #5695
man/man5/zfs-module-parameters.5
module/zfs/spa_misc.c