projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fio: make gauss a duplicate of normal for file_service_type
[fio.git]
/
options.c
diff --git
a/options.c
b/options.c
index a8fdde448bdaa4ded1d022a28a0d517d19217ae5..09a21af0f441d8ea67bb30a9b05075109f3a6a9a 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-1381,7
+1381,7
@@
static int str_gtod_reduce_cb(void *data, int *il)
td->o.disable_bw = !!val;
td->o.clat_percentiles = !val;
if (val)
td->o.disable_bw = !!val;
td->o.clat_percentiles = !val;
if (val)
- td->t
v
_cache_mask = 63;
+ td->t
s
_cache_mask = 63;
return 0;
}
return 0;
}
@@
-1410,6
+1410,8
@@
static int str_size_cb(void *data, unsigned long long *__val)
if (parse_is_percent(v)) {
td->o.size = 0;
td->o.size_percent = -1ULL - v;
if (parse_is_percent(v)) {
td->o.size = 0;
td->o.size_percent = -1ULL - v;
+ dprint(FD_PARSE, "SET size_percent %d\n",
+ td->o.size_percent);
} else
td->o.size = v;
} else
td->o.size = v;
@@
-2267,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,