mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-05-11 17:47:52 +03:00
ZTS: Remove TXG_TIMEOUT from dedup_quota test (#17150)
It seems `fio` in `ddt_dedup_vdev_limit` overwhelms the system with the amount of dirty data caused by DDT updates within one TXG due to tiny 1KB records used, while I see no reason for this test to extend the TXGs beyond default. Signed-off-by: Alexander Motin <mav@FreeBSD.org> Sponsored by: iXsystems, Inc. Reviewed-by: Allan Jude <allan@klarasystems.com> Reviewed-by: @ImAwsumm Reviewed-by: Tony Hutter <hutter2@llnl.gov>
This commit is contained in:
parent
f5312d2996
commit
21850f519b
@ -50,8 +50,6 @@ VDEV_GENERAL="$TEST_BASE_DIR/vdevfile.general.$$"
|
|||||||
VDEV_DEDUP="$TEST_BASE_DIR/vdevfile.dedup.$$"
|
VDEV_DEDUP="$TEST_BASE_DIR/vdevfile.dedup.$$"
|
||||||
POOL="dedup_pool"
|
POOL="dedup_pool"
|
||||||
|
|
||||||
save_tunable TXG_TIMEOUT
|
|
||||||
|
|
||||||
# we set the dedup log txg interval to 1, to get a log flush every txg,
|
# we set the dedup log txg interval to 1, to get a log flush every txg,
|
||||||
# effectively disabling the log. without this it's hard to predict when and
|
# effectively disabling the log. without this it's hard to predict when and
|
||||||
# where things appear on-disk
|
# where things appear on-disk
|
||||||
@ -66,7 +64,6 @@ function cleanup
|
|||||||
destroy_pool $POOL
|
destroy_pool $POOL
|
||||||
fi
|
fi
|
||||||
log_must rm -fd $VDEV_GENERAL $VDEV_DEDUP $MOUNTDIR
|
log_must rm -fd $VDEV_GENERAL $VDEV_DEDUP $MOUNTDIR
|
||||||
log_must restore_tunable TXG_TIMEOUT
|
|
||||||
log_must restore_tunable DEDUP_LOG_TXG_MAX
|
log_must restore_tunable DEDUP_LOG_TXG_MAX
|
||||||
log_must restore_tunable DEDUP_LOG_FLUSH_ENTRIES_MIN
|
log_must restore_tunable DEDUP_LOG_FLUSH_ENTRIES_MIN
|
||||||
}
|
}
|
||||||
@ -84,7 +81,6 @@ function do_setup
|
|||||||
# Use 'xattr=sa' to prevent selinux xattrs influencing our accounting
|
# Use 'xattr=sa' to prevent selinux xattrs influencing our accounting
|
||||||
log_must zpool create -o ashift=12 -f -O xattr=sa -m $MOUNTDIR $POOL $VDEV_GENERAL
|
log_must zpool create -o ashift=12 -f -O xattr=sa -m $MOUNTDIR $POOL $VDEV_GENERAL
|
||||||
log_must zfs set compression=off dedup=on $POOL
|
log_must zfs set compression=off dedup=on $POOL
|
||||||
log_must set_tunable32 TXG_TIMEOUT 600
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function dedup_table_size
|
function dedup_table_size
|
||||||
|
Loading…
Reference in New Issue
Block a user