projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client: improve handling of non-newline text strings
[fio.git]
/
options.c
diff --git
a/options.c
b/options.c
index 74c24d02d5d4bc200da3cf671c64d363d02e92a4..1914037583fb24163936e18aac7b4473aed87728 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-829,9
+829,6
@@
static int kb_base_verify(struct fio_option *o, void *data)
return 0;
}
return 0;
}
-#define __stringify_1(x) #x
-#define __stringify(x) __stringify_1(x)
-
/*
* Map of job/command line options
*/
/*
* Map of job/command line options
*/
@@
-1946,7
+1943,7
@@
static struct fio_option options[FIO_MAX_OPTS] = {
.type = FIO_OPT_INT,
.off1 = td_var_offset(hugepage_size),
.help = "When using hugepages, specify size of each page",
.type = FIO_OPT_INT,
.off1 = td_var_offset(hugepage_size),
.help = "When using hugepages, specify size of each page",
- .def = __stringify(FIO_HUGE_PAGE),
+ .def = __
fio_
stringify(FIO_HUGE_PAGE),
},
{
.name = "group_reporting",
},
{
.name = "group_reporting",
@@
-1966,6
+1963,13
@@
static struct fio_option options[FIO_MAX_OPTS] = {
.off1 = td_var_offset(refill_buffers),
.help = "Refill IO buffers on every IO submit",
},
.off1 = td_var_offset(refill_buffers),
.help = "Refill IO buffers on every IO submit",
},
+ {
+ .name = "scramble_buffers",
+ .type = FIO_OPT_BOOL,
+ .off1 = td_var_offset(scramble_buffers),
+ .help = "Slightly scramble buffers on every IO submit",
+ .def = "1",
+ },
{
.name = "clat_percentiles",
.type = FIO_OPT_BOOL,
{
.name = "clat_percentiles",
.type = FIO_OPT_BOOL,