From 06811a4819797eb261f036f93064309fef5c5b61 Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Tue, 14 Jan 2025 09:19:03 +0530 Subject: [PATCH] qa/workunits/nvmeof/fio_test.sh: fix fio filenames Filenames were provided to fio as nvme1n1:nvme1n2, it should be pull path (/dev/nvme1n1:/dev/nvme1n2). Signed-off-by: Vallari Agrawal --- qa/workunits/nvmeof/fio_test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qa/workunits/nvmeof/fio_test.sh b/qa/workunits/nvmeof/fio_test.sh index f7f783afc67e7..03dc369e589d9 100755 --- a/qa/workunits/nvmeof/fio_test.sh +++ b/qa/workunits/nvmeof/fio_test.sh @@ -50,7 +50,8 @@ fi RUNTIME=${RUNTIME:-600} - +filename=$(echo "$selected_drives" | sed -z 's/\n/:\/dev\//g' | sed 's/:\/dev\/$//') +filename="/dev/$filename" cat >> $fio_file <