Allow readwrite as an alias for rw in setting sequential read/write
authorJens Axboe <axboe@kernel.dk>
Fri, 23 Mar 2012 12:40:06 +0000 (13:40 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Mar 2012 12:40:06 +0000 (13:40 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
HOWTO
fio.1
options.c

diff --git a/HOWTO b/HOWTO
index e4614ea8675a0c8b2f958ad8c2d6b04e12181939..5622349fe7707aee6d1757fedf6b17dbf9a56e94 100644 (file)
--- a/HOWTO
+++ b/HOWTO
@@ -310,7 +310,7 @@ rw=str              Type of io pattern. Accepted values are:
                        write           Sequential writes
                        randwrite       Random writes
                        randread        Random reads
-                       rw              Sequential mixed reads and writes
+                       rw,readwrite    Sequential mixed reads and writes
                        randrw          Random mixed reads and writes
 
                For the mixed io types, the default is to split them 50/50.
diff --git a/fio.1 b/fio.1
index c4c90b42e0c2a6d4bdfb23319e6dce42947f5602..bcae37ba308cac7d8fd559a76a37f4e0318036f5 100644 (file)
--- a/fio.1
+++ b/fio.1
@@ -195,7 +195,7 @@ Random reads.
 .B randwrite
 Random writes.
 .TP
-.B rw
+.B rw, readwrite
 Mixed sequential reads and writes.
 .TP
 .B randrw 
index 3de0221e26eb5ab03d4f6e664be41e5c50ce5bb6..f8927ee803b6da4c71a84fe1b18422675d927997 100644 (file)
--- a/options.c
+++ b/options.c
@@ -944,6 +944,10 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                            .oval = TD_DDIR_RW,
                            .help = "Sequential read and write mix",
                          },
+                         { .ival = "readwrite",
+                           .oval = TD_DDIR_RW,
+                           .help = "Sequential read and write mix",
+                         },
                          { .ival = "randrw",
                            .oval = TD_DDIR_RANDRW,
                            .help = "Random read and write mix"