struct tapi_fio_opts
Overview
List of possible FIO test tool options. More…
#include <tapi_fio.h> struct tapi_fio_opts { // fields const char* name; const char* filename; unsigned int blocksize; tapi_fio_numjobs_t numjobs; unsigned int iodepth; int runtime_sec; unsigned int rwmixread; tapi_fio_rwtype rwtype; tapi_fio_ioengine ioengine; te_string output_path; bool direct; bool exit_on_error; const char* rand_gen; const char* user; const char* prefix; const char* rbdname; const char* pool; tapi_job_opt_uintmax_t size; };
Detailed Documentation
List of possible FIO test tool options.
Fields
const char* name
Test name
const char* filename
Files to use for the workload
unsigned int blocksize
Block size unit
tapi_fio_numjobs_t numjobs
Duplicate this job many times
unsigned int iodepth
Number of IO buffers to keep in flight
int runtime_sec
Stop workload when the time expires
unsigned int rwmixread
Percentage of mixed workload that is reads
tapi_fio_rwtype rwtype
Read or write type
tapi_fio_ioengine ioengine
I/O Engine type
te_string output_path
File name where store FIO result
bool direct
Use O_DIRECT I/O
bool exit_on_error
Terminate all jobs when one exits in error
const char* rand_gen
Random generator type
const char* user
Raw string passed to fio
const char* prefix
Raw string used as a prefix before fio
const char* rbdname
Specifies the name of the RBD
const char* pool
Specifies the name of the Ceph pool containing RBD or RADOS data.
tapi_job_opt_uintmax_t size
The total size of file I/O for each thread of this job