Skip to content

Commit

Permalink
fio-wrapper: group verify options
Browse files Browse the repository at this point in the history
Set all verify-related options only when
"verify" option is enabled.

Signed-off-by: Karol Latecki <[email protected]>
Change-Id: Ifc1106f525b1e385fd089ba6ead59e6e5fc9355d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18132
Tested-by: SPDK CI Jenkins <[email protected]>
Reviewed-by: Tomasz Zawadzki <[email protected]>
Reviewed-by: Michal Berger <[email protected]>
Reviewed-by: Konrad Sztyber <[email protected]>
  • Loading branch information
karlatec authored and tomzawadzki committed Jul 24, 2023
1 parent 1c0e38b commit 935d6ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/fio-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ fio_config() {
iodepth=$iodepth
norandommap=$((verify == 1 ? 0 : 1))
numjobs=$numjobs
verify_dump=1
verify_backlog=512
verify_state_save=0
FIO

if ((verify == 1)); then
cat <<- FIO
verify_dump=1
verify_backlog=512
verify_state_save=0
do_verify=$verify
verify=crc32c-intel
FIO
Expand Down

0 comments on commit 935d6ca

Please sign in to comment.