Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
opendir=str Tell fio to recursively add any file it can find in this
directory and down the file system tree.
opendir=str Tell fio to recursively add any file it can find in this
directory and down the file system tree.
rw=str Type of io pattern. Accepted values are:
read Sequential reads
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.
and limited to 'size' in total (if that is given). If not
given, each created file is the same size.
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
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.
can do so by passing an empty read size - bs=,8k will set
8k for writes and leave the read default value.
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
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=.
writes, however a second range can be given after a comma.
See bs=.
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.
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.
sync=bool Use sync io for buffered writes. For the majority of the
io engines, this means using O_SYNC.
mem=str Fio can use various types of memory as the io unit buffer.
The allowed values are:
mem=str Fio can use various types of memory as the io unit buffer.
The allowed values are:
.type = FIO_OPT_STR,
.off1 = td_var_offset(td_ddir),
.help = "IO direction",
.type = FIO_OPT_STR,
.off1 = td_var_offset(td_ddir),
.help = "IO direction",
.type = FIO_OPT_STR_VAL_INT,
.off1 = td_var_offset(bs[DDIR_READ]),
.off2 = td_var_offset(bs[DDIR_WRITE]),
.type = FIO_OPT_STR_VAL_INT,
.off1 = td_var_offset(bs[DDIR_READ]),
.off2 = td_var_offset(bs[DDIR_WRITE]),
+ .alias = "blocksize_range",
.type = FIO_OPT_RANGE,
.off1 = td_var_offset(min_bs[DDIR_READ]),
.off2 = td_var_offset(max_bs[DDIR_READ]),
.type = FIO_OPT_RANGE,
.off1 = td_var_offset(min_bs[DDIR_READ]),
.off2 = td_var_offset(max_bs[DDIR_READ]),
},
{
.name = "bs_unaligned",
},
{
.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",
.type = FIO_OPT_STR_SET,
.off1 = td_var_offset(bs_unaligned),
.help = "Don't sector align IO buffer sizes",
.type = FIO_OPT_STR,
.cb = str_mem_cb,
.off1 = td_var_offset(mem_type),
.type = FIO_OPT_STR,
.cb = str_mem_cb,
.off1 = td_var_offset(mem_type),