Commit 189814de authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

autotest: tweak nvme/perf command to test splits



Previously, the I/O splitting code and child I/O completion were not
being tested (aside from in the unit tests).

Tweak the I/O size so that it will get split into two child I/Os on
devices with 128 KB striping.

This causes nvme_cb_complete_child() to be exercised, improving code
coverage.

Change-Id: Ia0299f7f809f8edb93452b5ad45939977a9f67f1
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 555a3d85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ process_core
timing_exit identify

timing_enter perf
$rootdir/examples/nvme/perf/perf -q 128 -w read -s 4096 -t 5
$rootdir/examples/nvme/perf/perf -q 128 -w read -s 12288 -t 5
process_core
timing_exit perf