From 189814de8377a2b274389c589dc7e539f75e1b91 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Wed, 4 Nov 2015 10:28:48 -0700 Subject: [PATCH] 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: Daniel Verkamp --- test/lib/nvme/nvme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/nvme/nvme.sh b/test/lib/nvme/nvme.sh index c854c2a79..efd4e947a 100755 --- a/test/lib/nvme/nvme.sh +++ b/test/lib/nvme/nvme.sh @@ -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