]> www.infradead.org Git - users/hch/blktests.git/commitdiff
nvme/040: fix device file path
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Fri, 29 Jul 2022 00:15:05 +0000 (09:15 +0900)
committerShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Thu, 4 Aug 2022 07:44:04 +0000 (16:44 +0900)
The test case nvme/040 performs I/O to a nvmf device file. However, it
specifies wrong path to the device file then the I/O is done to a
regular file. Hence fix the path.

Fixes: ebf197d1aea4 ("nvme: add nvmf reset/disconnect during traffic test")
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
tests/nvme/040

index 10c1815236fe57816d21a94a356b4840a1add88e..04bd726cd30944e0256cee50b8d9c0842d76119e 100755 (executable)
@@ -37,7 +37,7 @@ test() {
 
        # start fio job
        echo "starting background fio"
-       _run_fio_rand_io --filename="${nvmedev}n1" --size=1g \
+       _run_fio_rand_io --filename="/dev/${nvmedev}n1" --size=1g \
                --group_reporting --ramp_time=5  &> /dev/null &
        sleep 5