diff options
author | Ryan Moeller <[email protected]> | 2021-04-07 19:23:57 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-04-14 13:19:49 -0700 |
commit | 7822c01eb6b7d3d6a20e1a733747050ed9d7ddcb (patch) | |
tree | d7430c06664d011ba5adf26ad371b3c5e6f94907 /tests/runfiles | |
parent | 96e15d29fab03e2876654c42702b81d3b0b14303 (diff) |
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 <[email protected]>
Reviewed-by: Don Brady <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #11786
Diffstat (limited to 'tests/runfiles')
-rw-r--r-- | tests/runfiles/common.run | 6 | ||||
-rw-r--r-- | tests/runfiles/linux.run | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run index cc2414550..32be9ef05 100644 --- a/tests/runfiles/common.run +++ b/tests/runfiles/common.run @@ -577,6 +577,12 @@ tags = ['functional', 'cp_files'] tests = ['ctime_001_pos' ] tags = ['functional', 'ctime'] +[tests/functional/deadman] +tests = ['deadman_ratelimit', 'deadman_sync', 'deadman_zio'] +pre = +post = +tags = ['functional', 'deadman'] + [tests/functional/delegate] tests = ['zfs_allow_001_pos', 'zfs_allow_002_pos', 'zfs_allow_003_pos', 'zfs_allow_004_pos', 'zfs_allow_005_pos', 'zfs_allow_006_pos', diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index 9f6bd856a..4952f3013 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -85,12 +85,6 @@ tags = ['functional', 'cli_root', 'zpool_split'] tests = ['compress_004_pos'] tags = ['functional', 'compression'] -[tests/functional/deadman:Linux] -tests = ['deadman_sync', 'deadman_zio'] -pre = -post = -tags = ['functional', 'deadman'] - [tests/functional/devices:Linux] tests = ['devices_001_pos', 'devices_002_neg', 'devices_003_pos'] tags = ['functional', 'devices'] |