mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Reduce trim min size even lower for tests to reduce flakiness
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Paul Dagnelie <pcd@delphix.com> Closes #15315
This commit is contained in:
parent
99dc1fc340
commit
d38f4664a6
@ -60,7 +60,7 @@ log_must set_tunable64 VDEV_MIN_MS_COUNT 64
|
||||
|
||||
# Minimum trim size is decreased to verify all trim sizes.
|
||||
typeset trim_extent_bytes_min=$(get_tunable TRIM_EXTENT_BYTES_MIN)
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 4096
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 512
|
||||
|
||||
log_must mkdir "$TESTDIR"
|
||||
log_must truncate -s $LARGESIZE "$LARGEFILE"
|
||||
|
@ -52,7 +52,7 @@ LARGEFILE="$TESTDIR/largefile"
|
||||
|
||||
# Reduce trim size to allow for tighter tolerance below when checking.
|
||||
typeset trim_extent_bytes_min=$(get_tunable TRIM_EXTENT_BYTES_MIN)
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 4096
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 512
|
||||
|
||||
log_must mkdir "$TESTDIR"
|
||||
log_must truncate -s $LARGESIZE "$LARGEFILE"
|
||||
|
@ -57,7 +57,7 @@ log_onexit cleanup
|
||||
|
||||
# Minimum trim size is decreased to verify all trim sizes.
|
||||
typeset trim_extent_bytes_min=$(get_tunable TRIM_EXTENT_BYTES_MIN)
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 4096
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 512
|
||||
|
||||
# Reduced TRIM_TXG_BATCH to make trimming more frequent.
|
||||
typeset trim_txg_batch=$(get_tunable TRIM_TXG_BATCH)
|
||||
|
@ -54,7 +54,7 @@ log_onexit cleanup
|
||||
|
||||
# Minimum trim size is decreased to verify all trim sizes.
|
||||
typeset trim_extent_bytes_min=$(get_tunable TRIM_EXTENT_BYTES_MIN)
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 4096
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 512
|
||||
|
||||
# Reduced TRIM_TXG_BATCH to make trimming more frequent.
|
||||
typeset trim_txg_batch=$(get_tunable TRIM_TXG_BATCH)
|
||||
|
@ -55,7 +55,7 @@ log_onexit cleanup
|
||||
|
||||
# Minimum trim size is decreased to verify all trim sizes.
|
||||
typeset trim_extent_bytes_min=$(get_tunable TRIM_EXTENT_BYTES_MIN)
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 4096
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 512
|
||||
|
||||
# Reduced TRIM_TXG_BATCH to make trimming more frequent.
|
||||
typeset trim_txg_batch=$(get_tunable TRIM_TXG_BATCH)
|
||||
|
@ -57,7 +57,7 @@ log_onexit cleanup
|
||||
|
||||
# Minimum trim size is decreased to verify all trim sizes.
|
||||
typeset trim_extent_bytes_min=$(get_tunable TRIM_EXTENT_BYTES_MIN)
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 4096
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 512
|
||||
|
||||
# Reduced TRIM_TXG_BATCH to make trimming more frequent.
|
||||
typeset trim_txg_batch=$(get_tunable TRIM_TXG_BATCH)
|
||||
|
@ -54,7 +54,7 @@ log_onexit cleanup
|
||||
|
||||
# Minimum trim size is decreased to verify all trim sizes.
|
||||
typeset trim_extent_bytes_min=$(get_tunable TRIM_EXTENT_BYTES_MIN)
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 4096
|
||||
log_must set_tunable64 TRIM_EXTENT_BYTES_MIN 512
|
||||
|
||||
# Reduced TRIM_TXG_BATCH to make trimming more frequent.
|
||||
typeset trim_txg_batch=$(get_tunable TRIM_TXG_BATCH)
|
||||
|
Loading…
Reference in New Issue
Block a user