* Iosched_switch error
@ 2016-07-01 0:05 Matthew Eaton
2016-07-05 20:17 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Matthew Eaton @ 2016-07-01 0:05 UTC (permalink / raw)
To: fio
Hi Jens,
I have run into this error when using ioscheduler=noop in my job
files. I only run into the error when specifying unsupported devices
such as nvme or md raid device. Should this be a fatal error? I ask
because sometimes I want to run the same job on various devices.
sudo fname=/dev/nvme0n1 ./fio seqread.ini
seq-read: (g=0): rw=read, bs=128K-128K/128K-128K/128K-128K,
ioengine=libaio, iodepth=32
fio-2.12-3-g8a09
Starting 1 process
fio: io scheduler noop not found
fio: pid=5541, err=22/file:backend.c:1306, func=iosched_switch,
error=Invalid argument
Run status group 0 (all jobs):
Disk stats (read/write):
nvme0n1: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=0.00%
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Iosched_switch error
2016-07-01 0:05 Iosched_switch error Matthew Eaton
@ 2016-07-05 20:17 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2016-07-05 20:17 UTC (permalink / raw)
To: Matthew Eaton, fio
On 06/30/2016 06:05 PM, Matthew Eaton wrote:
> Hi Jens,
>
> I have run into this error when using ioscheduler=noop in my job
> files. I only run into the error when specifying unsupported devices
> such as nvme or md raid device. Should this be a fatal error? I ask
> because sometimes I want to run the same job on various devices.
>
> sudo fname=/dev/nvme0n1 ./fio seqread.ini
> seq-read: (g=0): rw=read, bs=128K-128K/128K-128K/128K-128K,
> ioengine=libaio, iodepth=32
> fio-2.12-3-g8a09
> Starting 1 process
> fio: io scheduler noop not found
> fio: pid=5541, err=22/file:backend.c:1306, func=iosched_switch,
> error=Invalid argument
IO scheduler switching can only work, if the device is using an IO
scheduler. md/raid devices are not, and nvme is driven by blk-mq, which
doesn't have an IO scheduler either. That's why these devices fail for you.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-05 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-01 0:05 Iosched_switch error Matthew Eaton
2016-07-05 20:17 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox