Flexible I/O Tester development
 help / color / mirror / Atom feed
* using ioengine=sg
@ 2010-08-26 19:25 Chuck Tuffli
  2010-08-27  7:03 ` Jens Axboe
  0 siblings, 1 reply; 6+ messages in thread
From: Chuck Tuffli @ 2010-08-26 19:25 UTC (permalink / raw)
  To: fio

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-28  6:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-26 19:25 using ioengine=sg Chuck Tuffli
2010-08-27  7:03 ` Jens Axboe
2010-08-27 15:40   ` Chuck Tuffli
2010-08-27 16:56     ` Jens Axboe
2010-08-27 21:37       ` Chuck Tuffli
2010-08-28  6:53         ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox