From: Vallari Agrawal Date: Tue, 14 Jan 2025 03:49:03 +0000 (+0530) Subject: qa/workunits/nvmeof/fio_test.sh: fix fio filenames X-Git-Tag: v20.0.0~263^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=06811a4819797eb261f036f93064309fef5c5b61;p=ceph.git 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 --- diff --git a/qa/workunits/nvmeof/fio_test.sh b/qa/workunits/nvmeof/fio_test.sh index f7f783afc67..03dc369e589 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 <