]> git.proxmox.com Git - mirror_zfs.git/commit - man/man5/zfs-module-parameters.5
Change checksum & IO delay ratelimit values
authorTony Hutter <hutter2@llnl.gov>
Mon, 5 Mar 2018 01:34:51 +0000 (17:34 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 5 Mar 2018 01:34:51 +0000 (17:34 -0800)
commit80d52c3919b8cbf1cf21be07037335a22922440f
treeecfb01fd8f25ddb8f56d36aa1db5a0aad76ebc18
parent5666a994f2b17f1d720efa83d4c64b1ed7bb53d0
Change checksum & IO delay ratelimit values

Change checksum & IO delay ratelimit thresholds from 5/sec to 20/sec.
This allows zed to actually trigger if a bunch of these events arrive in
a short period of time (zed has a threshold of 10 events in 10 sec).
Previously, if you had, say, 100 checksum errors in 1 sec, it would get
ratelimited to 5/sec which wouldn't trigger zed to fault the drive.

Also, convert the checksum and IO delay thresholds to module params for
easy testing.

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #7252
include/sys/vdev_impl.h
include/sys/zfs_ratelimit.h
man/man5/zfs-module-parameters.5
module/zfs/vdev.c
module/zfs/zfs_ratelimit.c
tests/zfs-tests/tests/functional/fault/auto_spare_002_pos.ksh