]> git.proxmox.com Git - mirror_zfs.git/commit
Change checksum & IO delay ratelimit values
authorTony Hutter <hutter2@llnl.gov>
Mon, 5 Mar 2018 01:34:51 +0000 (17:34 -0800)
committerTony Hutter <hutter2@llnl.gov>
Wed, 14 Mar 2018 23:10:38 +0000 (16:10 -0700)
commit6dc40e2ada2d0d008bd314ff3525f2b0acc2bb01
treefcc344b5c688c1019aee4037073427927a35e3bc
parent792f88131c647a70440c709c78d43210db6c6534
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/zcommon/zfs_comutil.c
module/zfs/vdev.c