fio: make gauss a duplicate of normal for file_service_type
authorSitsofe Wheeler <sitsofe@yahoo.com>
Wed, 28 Jun 2017 21:53:06 +0000 (22:53 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Wed, 28 Jun 2017 21:58:08 +0000 (22:58 +0100)
To be consistent with random_distribution add a normal parameter to
file_service_type and state that gauss is an alias of it.

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
HOWTO
fio.1
options.c

diff --git a/HOWTO b/HOWTO
index d2acd8fbd38ef4648f97ff5c743381de60b87b86..6e53cff81fec4cf4f4b5533a2c9cd6ccdb2793c7 100644 (file)
--- a/HOWTO
+++ b/HOWTO
@@ -853,10 +853,13 @@ Target file/device
                **pareto**
                        Use a *Pareto* distribution to decide what file to access.
 
                **pareto**
                        Use a *Pareto* distribution to decide what file to access.
 
-               **gauss**
+               **normal**
                        Use a *Gaussian* (normal) distribution to decide what file to
                        access.
 
                        Use a *Gaussian* (normal) distribution to decide what file to
                        access.
 
+               **gauss**
+                       Alias for normal.
+
        For *random*, *roundrobin*, and *sequential*, a postfix can be appended to
        tell fio how many I/Os to issue before switching to a new file. For example,
        specifying ``file_service_type=random:8`` would cause fio to issue
        For *random*, *roundrobin*, and *sequential*, a postfix can be appended to
        tell fio how many I/Os to issue before switching to a new file. For example,
        specifying ``file_service_type=random:8`` would cause fio to issue
diff --git a/fio.1 b/fio.1
index fbaf77f22f8164240c3c3408463d57485608a074..ab042081ddc83ddf270c1ad9dfcc1573e4f12b48 100644 (file)
--- a/fio.1
+++ b/fio.1
@@ -676,8 +676,11 @@ Use a zipfian distribution to decide what file to access.
 .B pareto
 Use a pareto distribution to decide what file to access.
 .TP
 .B pareto
 Use a pareto distribution to decide what file to access.
 .TP
+.B normal
+Use a Gaussian (normal) distribution to decide what file to access.
+.TP
 .B gauss
 .B gauss
-Use a gaussian (normal) distribution to decide what file to access.
+Alias for normal.
 .RE
 .P
 For \fBrandom\fR, \fBroundrobin\fR, and \fBsequential\fR, a postfix can be
 .RE
 .P
 For \fBrandom\fR, \fBroundrobin\fR, and \fBsequential\fR, a postfix can be
index f103fc469899fe38582e57e4d2c78acd81da7fe5..09a21af0f441d8ea67bb30a9b05075109f3a6a9a 100644 (file)
--- a/options.c
+++ b/options.c
@@ -2269,9 +2269,13 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                            .oval = FIO_FSERVICE_PARETO,
                            .help = "Pareto randomized",
                          },
                            .oval = FIO_FSERVICE_PARETO,
                            .help = "Pareto randomized",
                          },
+                         { .ival = "normal",
+                           .oval = FIO_FSERVICE_GAUSS,
+                           .help = "Normal (Gaussian) randomized",
+                         },
                          { .ival = "gauss",
                            .oval = FIO_FSERVICE_GAUSS,
                          { .ival = "gauss",
                            .oval = FIO_FSERVICE_GAUSS,
-                           .help = "Normal (Gaussian) distribution",
+                           .help = "Alias for normal",
                          },
                          { .ival = "roundrobin",
                            .oval = FIO_FSERVICE_RR,
                          },
                          { .ival = "roundrobin",
                            .oval = FIO_FSERVICE_RR,