summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurudas Pai <gurudas.pai@oracle.com>2008-05-30 13:35:00 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-05-30 13:35:00 +0200
commitd0c70934dde93a8ee260a84c1bf69ff24484d486 (patch)
treefb9f76406248f4d64ab3b55b530e1fecc241e69f
parent443662efa60d9082bc820641e7d1d31dd58d3ae1 (diff)
downloadfio-d0c70934dde93a8ee260a84c1bf69ff24484d486.tar.gz
fio-d0c70934dde93a8ee260a84c1bf69ff24484d486.tar.bz2
Fix bad references to 'sgio'
The engine name is 'sg', so change bad references to sgio. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--README4
-rw-r--r--engines/sg.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/README b/README
index 53cc7ebd..059fead2 100644
--- a/README
+++ b/README
@@ -171,8 +171,8 @@ The job file parameters are:
psync for regular pread/pwrite io, vsync for regular
readv/writev (with queuing emulation) mmap for mmap'ed
io, syslet-rw for syslet driven read/write, splice for
- using splice/vmsplice, sgio for direct SG_IO io, net
- for network io, or cpuio for a cycler burner load. sgio
+ using splice/vmsplice, sg for direct SG_IO io, net
+ for network io, or cpuio for a cycler burner load. sg
only works on Linux on SCSI (or SCSI-like devices, such
as usb-storage or sata/libata driven) devices. Fio also
has a null io engine, which is mainly used for testing
diff --git a/engines/sg.c b/engines/sg.c
index 72bbc4e8..cb44fa45 100644
--- a/engines/sg.c
+++ b/engines/sg.c
@@ -364,7 +364,7 @@ static int fio_sgio_type_check(struct thread_data *td, struct fio_file *f)
if (ret)
return 1;
} else {
- log_err("ioengine sgio only works on block devices\n");
+ log_err("ioengine sg only works on block devices\n");
return 1;
}
@@ -418,12 +418,12 @@ static struct ioengine_ops ioengine = {
*/
static int fio_sgio_init(struct thread_data fio_unused *td)
{
- fprintf(stderr, "fio: sgio not available\n");
+ fprintf(stderr, "fio: ioengine sg not available\n");
return 1;
}
static struct ioengine_ops ioengine = {
- .name = "sgio",
+ .name = "sg",
.version = FIO_IOOPS_VERSION,
.init = fio_sgio_init,
};