Fix bad references to 'sgio'
authorGurudas Pai <gurudas.pai@oracle.com>
Fri, 30 May 2008 11:35:00 +0000 (13:35 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 30 May 2008 11:35:00 +0000 (13:35 +0200)
The engine name is 'sg', so change bad references to sgio.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
README
engines/sg.c

diff --git a/README b/README
index 53cc7ebd54689f62bab783865806ae53ec64a62f..059fead22a1ee530a17b15cff7b60bab8aefa2ba 100644 (file)
--- 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
index 72bbc4e82b99c9d8666f4c875fb0c1bf6f95d8e8..cb44fa457700e34c5299921cf56becfcb01f3126 100644 (file)
@@ -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,
 };