From: Jens Axboe Date: Fri, 23 Mar 2012 12:40:06 +0000 (+0100) Subject: Allow readwrite as an alias for rw in setting sequential read/write X-Git-Tag: fio-2.0.7~13 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=10b023db64eeb686eabdfa84faea45795ac8c34c;p=fio.git Allow readwrite as an alias for rw in setting sequential read/write Signed-off-by: Jens Axboe --- diff --git a/HOWTO b/HOWTO index e4614ea8..5622349f 100644 --- 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 c4c90b42..bcae37ba 100644 --- 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 diff --git a/options.c b/options.c index 3de0221e..f8927ee8 100644 --- 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"