cache_012_pos: disable compression to ensure L2ARC wrap

Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #18093
This commit is contained in:
Ameer Hamza 2026-01-22 01:36:03 +05:00 committed by Brian Behlendorf
parent 13552d754f
commit 6f17052743

View File

@ -91,6 +91,8 @@ log_must zpool create -f $TESTPOOL $VDEV cache $VCACHE
# Actually, this test relies on atime writes to force the L2 ARC discards
log_must zfs set relatime=off $TESTPOOL
# Disable compression to ensure predictable L2ARC fill
log_must zfs set compression=off $TESTPOOL
log_must fio $FIO_SCRIPTS/mkfiles.fio
log_must fio $FIO_SCRIPTS/random_reads.fio