]> git.proxmox.com Git - mirror_zfs.git/commit - tests/runfiles/common.run
Ratelimit deadman zevents as with delay zevents
authorRyan Moeller <ryan@iXsystems.com>
Wed, 7 Apr 2021 23:23:57 +0000 (19:23 -0400)
committerGitHub <noreply@github.com>
Wed, 7 Apr 2021 23:23:57 +0000 (16:23 -0700)
commite778b0485baaddd55284b138a517e0a028bd15eb
tree5d86ca456aaa6a3f6a77e176be2595e18969a036
parentc9c6537731d21c00ef5829003db0bb694c6aec56
Ratelimit deadman zevents as with delay zevents

Just as delay zevents can flood the zevent pipe when a vdev becomes
unresponsive, so do the deadman zevents.

Ratelimit deadman zevents according to the same tunable as for delay
zevents.

Enable deadman tests on FreeBSD and add a test for deadman event
ratelimiting.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Don Brady <don.brady@delphix.com>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11786
include/sys/vdev_impl.h
man/man5/zfs-module-parameters.5
module/zfs/vdev.c
module/zfs/zfs_fm.c
tests/runfiles/common.run
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/deadman/Makefile.am
tests/zfs-tests/tests/functional/deadman/deadman_ratelimit.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh