opendir=str Tell fio to recursively add any file it can find in this
directory and down the file system tree.
+readwrite=str
rw=str Type of io pattern. Accepted values are:
read Sequential reads
and limited to 'size' in total (if that is given). If not
given, each created file is the same size.
+blocksize=siint
bs=siint The block size used for the io units. Defaults to 4k. Values
can be given for both read and writes. If a single siint is
given, it will apply to both. If a second siint is specified
can do so by passing an empty read size - bs=,8k will set
8k for writes and leave the read default value.
+blocksize_range=irange
bsrange=irange Instead of giving a single block size, specify a range
and fio will mix the issued io block sizes. The issued
io unit will always be a multiple of the minimum value
writes, however a second range can be given after a comma.
See bs=.
+blocksize_unaligned
bs_unaligned If this option is given, any byte size value within bsrange
may be used as a block range. This typically wont work with
direct IO, as that normally requires sector alignment.
sync=bool Use sync io for buffered writes. For the majority of the
io engines, this means using O_SYNC.
+iomem=str
mem=str Fio can use various types of memory as the io unit buffer.
The allowed values are:
},
{
.name = "rw",
+ .alias = "readwrite",
.type = FIO_OPT_STR,
.off1 = td_var_offset(td_ddir),
.help = "IO direction",
},
{
.name = "bs",
+ .alias = "blocksize",
.type = FIO_OPT_STR_VAL_INT,
.off1 = td_var_offset(bs[DDIR_READ]),
.off2 = td_var_offset(bs[DDIR_WRITE]),
},
{
.name = "bsrange",
+ .alias = "blocksize_range",
.type = FIO_OPT_RANGE,
.off1 = td_var_offset(min_bs[DDIR_READ]),
.off2 = td_var_offset(max_bs[DDIR_READ]),
},
{
.name = "bs_unaligned",
+ .alias = "blocksize_unaligned",
.type = FIO_OPT_STR_SET,
.off1 = td_var_offset(bs_unaligned),
.help = "Don't sector align IO buffer sizes",
},
{
.name = "mem",
+ .alias = "iomem",
.type = FIO_OPT_STR,
.cb = str_mem_cb,
.off1 = td_var_offset(mem_type),