:orphan: .. index:: pair: struct; tapi_fio_opts .. _doxid-structtapi__fio__opts: struct tapi_fio_opts ==================== .. toctree:: :hidden: Overview ~~~~~~~~ List of possible FIO test tool options. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct tapi_fio_opts { // fields const char* :ref:`name`; const char* :ref:`filename`; unsigned int :ref:`blocksize`; :ref:`tapi_fio_numjobs_t` :ref:`numjobs`; unsigned int :ref:`iodepth`; int :ref:`runtime_sec`; unsigned int :ref:`rwmixread`; :ref:`tapi_fio_rwtype` :ref:`rwtype`; :ref:`tapi_fio_ioengine` :ref:`ioengine`; :ref:`te_string` :ref:`output_path`; bool :ref:`direct`; bool :ref:`exit_on_error`; const char* :ref:`rand_gen`; const char* :ref:`user`; const char* :ref:`prefix`; const char* :ref:`rbdname`; const char* :ref:`pool`; :ref:`tapi_job_opt_uintmax_t` :ref:`size`; }; .. _details-structtapi__fio__opts: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ List of possible FIO test tool options. Fields ------ .. index:: pair: variable; name .. _doxid-structtapi__fio__opts_1a1f19bab6ac0e7ba279a0103f1ed6d3d6: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* name Test name .. index:: pair: variable; filename .. _doxid-structtapi__fio__opts_1ad421ef64f3c57a5f626385bb56bf4290: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* filename Files to use for the workload .. index:: pair: variable; blocksize .. _doxid-structtapi__fio__opts_1a63baa95a23ed4a0927f2d796995398ff: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned int blocksize Block size unit .. index:: pair: variable; numjobs .. _doxid-structtapi__fio__opts_1a96888e207d1bb10a350c8331ecfe1303: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tapi_fio_numjobs_t` numjobs Duplicate this job many times .. index:: pair: variable; iodepth .. _doxid-structtapi__fio__opts_1ab9a5287d46e6bde3ae2e0bbb8f98c889: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned int iodepth Number of IO buffers to keep in flight .. index:: pair: variable; runtime_sec .. _doxid-structtapi__fio__opts_1a58abbde22b053199d1b827fea89905f4: .. ref-code-block:: cpp :class: doxyrest-title-code-block int runtime_sec Stop workload when the time expires .. index:: pair: variable; rwmixread .. _doxid-structtapi__fio__opts_1a201cc5007cdb7f5e244aa54726ebf396: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned int rwmixread Percentage of mixed workload that is reads .. index:: pair: variable; rwtype .. _doxid-structtapi__fio__opts_1a7d1406fdde413347c0c6e6aa1847c451: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tapi_fio_rwtype` rwtype Read or write type .. index:: pair: variable; ioengine .. _doxid-structtapi__fio__opts_1ae3702d7dc5640d2ae23ce1c7e4c405a1: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tapi_fio_ioengine` ioengine I/O Engine type .. index:: pair: variable; output_path .. _doxid-structtapi__fio__opts_1a214b0487eec684ae3cdf5f2e0cff1559: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`te_string` output_path File name where store FIO result .. index:: pair: variable; direct .. _doxid-structtapi__fio__opts_1a7d2f2ed6a4594a6ede867faa690632bd: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool direct Use O_DIRECT I/O .. index:: pair: variable; exit_on_error .. _doxid-structtapi__fio__opts_1a53b58cf4e08e7566d4363fa0076b5ae8: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool exit_on_error Terminate all jobs when one exits in error .. index:: pair: variable; rand_gen .. _doxid-structtapi__fio__opts_1a5b4b00c50e95ce09eaeb6b651d9c5e47: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* rand_gen Random generator type .. index:: pair: variable; user .. _doxid-structtapi__fio__opts_1a76972940459dce914aadb9184ce356da: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* user Raw string passed to fio .. index:: pair: variable; prefix .. _doxid-structtapi__fio__opts_1a6981cf27fae078b61eebe954cedc7de8: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* prefix Raw string used as a prefix before fio .. index:: pair: variable; rbdname .. _doxid-structtapi__fio__opts_1abbe1ba72633fb10fce28a5765b9a50d8: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* rbdname Specifies the name of the RBD .. index:: pair: variable; pool .. _doxid-structtapi__fio__opts_1a6842508589cd389d6214f31fe18b871c: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* pool Specifies the name of the Ceph pool containing RBD or RADOS data. .. index:: pair: variable; size .. _doxid-structtapi__fio__opts_1a0c76cd2a09345635d124ce06842c8164: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tapi_job_opt_uintmax_t` size The total size of file I/O for each thread of this job