IOR
|
#include "aiori.h"
Go to the source code of this file.
Data Structures | |
struct | posix_options_t |
Functions | |
void | POSIX_Sync (aiori_mod_opt_t *param) |
int | POSIX_check_params (aiori_mod_opt_t *param) |
void | POSIX_Fsync (aiori_fd_t *, aiori_mod_opt_t *) |
aiori_fd_t * | POSIX_Create (char *testFileName, int flags, aiori_mod_opt_t *module_options) |
int | POSIX_Mknod (char *testFileName) |
aiori_fd_t * | POSIX_Open (char *testFileName, int flags, aiori_mod_opt_t *module_options) |
IOR_offset_t | POSIX_GetFileSize (aiori_mod_opt_t *test, char *testFileName) |
void | POSIX_Delete (char *testFileName, aiori_mod_opt_t *module_options) |
int | POSIX_Rename (const char *oldfile, const char *newfile, aiori_mod_opt_t *module_options) |
void | POSIX_Close (aiori_fd_t *fd, aiori_mod_opt_t *module_options) |
option_help * | POSIX_options (aiori_mod_opt_t **init_backend_options, aiori_mod_opt_t *init_values) |
void | POSIX_xfer_hints (aiori_xfer_hint_t *params) |
int POSIX_check_params | ( | aiori_mod_opt_t * | param | ) |
Definition at line 195 of file aiori-POSIX.c.
References posix_options_t::beegfs_chunkSize, posix_options_t::direct_io, ERR, ERRF, EWARNF, posix_options_t::gpuDirect, ISPOWEROFTWO, posix_options_t::lustre_set_striping, posix_options_t::lustre_stripe_count, posix_options_t::lustre_stripe_size, o, offset, rc, verbose, VERBOSE_0, VERBOSE_2, WARN, and WRITE.
Referenced by aio_check_params().
void POSIX_Close | ( | aiori_fd_t * | fd, |
aiori_mod_opt_t * | module_options | ||
) |
Definition at line 688 of file aiori-POSIX.c.
References aiori_xfer_hint_t::dryRun, ERRF, posix_options_t::gpuDirect, and o.
Referenced by aio_Close(), and MMAP_Close().
aiori_fd_t* POSIX_Create | ( | char * | testFileName, |
int | flags, | ||
aiori_mod_opt_t * | module_options | ||
) |
Definition at line 401 of file aiori-POSIX.c.
References posix_options_t::beegfs_chunkSize, posix_options_t::beegfs_numTargets, posix_options_t::direct_io, aiori_xfer_hint_t::dryRun, ERRF, errno, EWARN, posix_fd::fd, aiori_xfer_hint_t::filePerProc, posix_options_t::gpfs_release_token, posix_options_t::gpuDirect, posix_options_t::lustre_ignore_locks, posix_options_t::lustre_set_striping, posix_options_t::lustre_start_ost, posix_options_t::lustre_stripe_count, posix_options_t::lustre_stripe_size, MPI_CHECK, o, O_BINARY, open64, rank, safeMalloc(), set_o_direct_flag(), testComm, and TRUE.
Referenced by aio_create(), and MMAP_Create().
void POSIX_Delete | ( | char * | testFileName, |
aiori_mod_opt_t * | module_options | ||
) |
Definition at line 708 of file aiori-POSIX.c.
References aiori_xfer_hint_t::dryRun, EWARNF, and rank.
void POSIX_Fsync | ( | aiori_fd_t * | , |
aiori_mod_opt_t * | |||
) |
Definition at line 668 of file aiori-POSIX.c.
References EWARNF.
Referenced by aio_Fsync(), and POSIX_Xfer().
IOR_offset_t POSIX_GetFileSize | ( | aiori_mod_opt_t * | test, |
char * | testFileName | ||
) |
Definition at line 731 of file aiori-POSIX.c.
References aiori_xfer_hint_t::dryRun, and ERRF.
int POSIX_Mknod | ( | char * | testFileName | ) |
Definition at line 515 of file aiori-POSIX.c.
References ERR.
aiori_fd_t* POSIX_Open | ( | char * | testFileName, |
int | flags, | ||
aiori_mod_opt_t * | module_options | ||
) |
Definition at line 529 of file aiori-POSIX.c.
References posix_options_t::direct_io, aiori_xfer_hint_t::dryRun, EINFO, ERRF, errno, posix_fd::fd, posix_options_t::gpfs_release_token, posix_options_t::gpuDirect, posix_options_t::lustre_ignore_locks, o, O_BINARY, open64, safeMalloc(), set_o_direct_flag(), TRUE, verbose, and VERBOSE_1.
Referenced by aio_Open(), and MMAP_Open().
option_help* POSIX_options | ( | aiori_mod_opt_t ** | init_backend_options, |
aiori_mod_opt_t * | init_values | ||
) |
Definition at line 113 of file aiori-POSIX.c.
References posix_options_t::beegfs_chunkSize, posix_options_t::beegfs_numTargets, posix_options_t::direct_io, posix_options_t::gpfs_hint_access, posix_options_t::gpfs_release_token, posix_options_t::gpuDirect, LAST_OPTION, posix_options_t::lustre_ignore_locks, posix_options_t::lustre_start_ost, posix_options_t::lustre_stripe_count, posix_options_t::lustre_stripe_size, NULL, o, OPTION_FLAG, and OPTION_OPTIONAL_ARGUMENT.
Referenced by aio_options().
int POSIX_Rename | ( | const char * | oldfile, |
const char * | newfile, | ||
aiori_mod_opt_t * | module_options | ||
) |
Definition at line 717 of file aiori-POSIX.c.
References aiori_xfer_hint_t::dryRun, EWARNF, and rank.
void POSIX_Sync | ( | aiori_mod_opt_t * | param | ) |
Definition at line 676 of file aiori-POSIX.c.
References FAIL.
Referenced by aio_Sync().
void POSIX_xfer_hints | ( | aiori_xfer_hint_t * | params | ) |
Definition at line 191 of file aiori-POSIX.c.
Referenced by aio_xfer_hints(), and MMAP_xfer_hints().