diff options
author | John Wren Kennedy <[email protected]> | 2022-11-10 15:00:04 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-10 14:00:04 -0800 |
commit | e9ab9e512c277ce3c22208599ebe5814db41a036 (patch) | |
tree | f2aacfc9c6deb35e83a6e7e6534fc90d1c950ead /tests | |
parent | b1eec00904a22bd6600a2853709ca50faa56ea24 (diff) |
ZTS: random_readwrite test doesn't run correctly
This test uses fio's bssplit mechanism to choose io sizes for the test,
leaving the PERF_IOSIZES variable empty. Because that variable is
empty, the innermost loop in do_fio_run_impl is never executed, and as
a result, this test does the setup but collects no data. Setting the
variable to "bssplit" allows performance data to be gathered.
Reviewed-by: Tony Nguyen <[email protected]>
Signed-off-by: John Wren Kennedy <[email protected]>
Closes #14163
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/zfs-tests/tests/perf/regression/random_readwrite.ksh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/perf/regression/random_readwrite.ksh b/tests/zfs-tests/tests/perf/regression/random_readwrite.ksh index 3a358774f..e0626c0b4 100755 --- a/tests/zfs-tests/tests/perf/regression/random_readwrite.ksh +++ b/tests/zfs-tests/tests/perf/regression/random_readwrite.ksh @@ -60,7 +60,7 @@ export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2)) # Variables specific to this test for use by fio. export PERF_NTHREADS=${PERF_NTHREADS:-'32 64'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} -export PERF_IOSIZES='' # bssplit used instead +export PERF_IOSIZES='bssplit' # bssplit used instead of fixed sizes export PERF_SYNC_TYPES=${PERF_SYNC_TYPES:-'1'} # Layout the files to be used by the readwrite tests. Create as many files |