IOR
|
Go to the source code of this file.
Functions | |
void * | airoi_update_module_options (const ior_aiori_t *backend, options_all_t *opt) |
options_all_t * | airoi_create_all_module_options (option_help *global_options) |
void | aiori_supported_apis (char *APIs, char *APIs_legacy, enum bench_type type) |
int | aiori_posix_statfs (const char *path, ior_aiori_statfs_t *stat_buf, aiori_mod_opt_t *module_options) |
int | aiori_posix_mkdir (const char *path, mode_t mode, aiori_mod_opt_t *module_options) |
int | aiori_posix_rmdir (const char *path, aiori_mod_opt_t *module_options) |
int | aiori_posix_access (const char *path, int mode, aiori_mod_opt_t *module_options) |
int | aiori_posix_stat (const char *path, struct stat *buf, aiori_mod_opt_t *module_options) |
char * | aiori_get_version () |
const ior_aiori_t * | aiori_select (const char *api) |
int | aiori_count (void) |
const char * | aiori_default (void) |
Variables | |
ior_aiori_t * | available_aiori [] |
int aiori_count | ( | void | ) |
Definition at line 291 of file aiori.c.
References available_aiori.
Referenced by aiori_default(), and airoi_create_all_module_options().
const char* aiori_default | ( | void | ) |
Definition at line 296 of file aiori.c.
References aiori_count(), ior_aiori::name, and NULL.
Referenced by init_IOR_Param_t().
int aiori_posix_access | ( | const char * | path, |
int | mode, | ||
aiori_mod_opt_t * | module_options | ||
) |
Definition at line 222 of file aiori.c.
Referenced by aiori_select().
int aiori_posix_mkdir | ( | const char * | path, |
mode_t | mode, | ||
aiori_mod_opt_t * | module_options | ||
) |
Definition at line 212 of file aiori.c.
Referenced by aiori_select().
int aiori_posix_rmdir | ( | const char * | path, |
aiori_mod_opt_t * | module_options | ||
) |
Definition at line 217 of file aiori.c.
Referenced by aiori_select().
int aiori_posix_stat | ( | const char * | path, |
struct stat * | buf, | ||
aiori_mod_opt_t * | module_options | ||
) |
Definition at line 227 of file aiori.c.
Referenced by aiori_select().
int aiori_posix_statfs | ( | const char * | path, |
ior_aiori_statfs_t * | stat_buf, | ||
aiori_mod_opt_t * | module_options | ||
) |
Default statfs implementation.
[in] | path | Path to run statfs on |
[out] | statfs_buf | AIORI statfs buffer |
This function provides a AIORI statfs for POSIX-compliant filesystems. It uses statvfs is available and falls back on statfs.
Definition at line 166 of file aiori.c.
References ior_aiori_statfs::f_bfree, ior_aiori_statfs::f_blocks, ior_aiori_statfs::f_bsize, ior_aiori_statfs::f_ffree, ior_aiori_statfs::f_files, FALSE, and TRUE.
Referenced by aiori_select().
const ior_aiori_t* aiori_select | ( | const char * | api | ) |
Definition at line 237 of file aiori.c.
References aiori_posix_access(), aiori_posix_mkdir(), aiori_posix_rmdir(), aiori_posix_stat(), aiori_posix_statfs(), ior_aiori::name_legacy, NULL, and WARN.
Referenced by DecodeDirective(), md_workbench_run(), mdtest_run(), and updateParsedOptions().
void aiori_supported_apis | ( | char * | APIs, |
char * | APIs_legacy, | ||
enum bench_type | type | ||
) |
Definition at line 127 of file aiori.c.
References available_aiori, MDTEST, and NULL.
Referenced by createGlobalOptions(), and mdtest_run().
options_all_t* airoi_create_all_module_options | ( | option_help * | global_options | ) |
Definition at line 107 of file aiori.c.
References aiori_count(), available_aiori, option_module::defaults, global_options, options_all_t::module_count, options_all_t::modules, NULL, option_module::options, out_logfile, and option_module::prefix.
Referenced by md_workbench_run(), mdtest_run(), and ParseCommandLine().
void* airoi_update_module_options | ( | const ior_aiori_t * | backend, |
options_all_t * | opt | ||
) |
Definition at line 93 of file aiori.c.
References available_aiori, option_module::defaults, ior_aiori::get_options, options_all_t::modules, ior_aiori::name, NULL, option_module::options, and option_module::prefix.
Referenced by md_workbench_run(), mdtest_run(), ReadConfigScript(), and updateParsedOptions().
ior_aiori_t* available_aiori[] |
Definition at line 41 of file aiori.c.
Referenced by aiori_count(), aiori_supported_apis(), airoi_create_all_module_options(), and airoi_update_module_options().