using ioengine=sg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi -

Reading the man page under ioengine, it mentions that sg will do
asynchronous IO if the target is the sg character device. So I'm
assuming that means a job file something like

> cat sgtest.fio
[global]
bs=512b
readwrite=read
ioengine=sg
size=1m

[/dev/sg2]

but when I run it,

> uname -srp
Linux 2.6.34-12-default x86_64
> ls -l /dev/sg2
crw-rw---- 1 root disk 21, 2 Aug 26 17:46 /dev/sg2
> ./fio --version
fio 1.43.1
> sudo ./fio sgtest.fio
/dev/sg2: (g=0): rw=read, bs=512-512/512-512, ioengine=sg, iodepth=1
Starting 1 process
fio: pid=3147, got signal=11


Run status group 0 (all jobs):
fio: file hash not empty on exit

Any idea what I'm doing wrong or might be missing on the system? Thanks!

---chuck
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux