mirror_zfs/tests/zfs-tests/tests/functional/fault
Tony Hutter 87e35bd3ab ZTS: Fix fault_limits timeouts
fault_limits would often hit the 10min timeout and be killed on Fedora
41-42.  Investigation showed that the 'fill_fs' portion of the test,
which would fill the pool with junk data before vdev replacement, was
writing highly compressible data (~126x), which would have taxed the
CPUs, potentially causing the timeout.

The fix is to write random data and reduce the number of writes.
This has an added benefit that more real data being is written to the
pool (~1GB) vs the old way (~300-400MB).  It also speeds up the test.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: Paul Dagnelie <paul.dagnelie@klarasystems.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #17709
2025-09-09 17:06:48 -07:00
..
auto_offline_001_pos.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
auto_online_001_pos.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
auto_online_002_pos.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
auto_replace_001_pos.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
auto_replace_002_pos.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
auto_spare_001_pos.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
auto_spare_002_pos.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
auto_spare_ashift.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
auto_spare_double.ksh Fix double spares for failed vdev 2025-05-02 09:03:11 -07:00
auto_spare_multiple.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
auto_spare_shared.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
cleanup.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
decompress_fault.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
decrypt_fault.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
fault_limits.ksh ZTS: Fix fault_limits timeouts 2025-09-09 17:06:48 -07:00
fault.cfg SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
scrub_after_resilver.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
setup.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
suspend_on_probe_errors.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
suspend_resume_single.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zpool_status_-s.ksh SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00