|
IOR
|
#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <unistd.h>#include <fcntl.h>#include <sys/stat.h>#include <assert.h>#include "ior.h"#include "aiori.h"#include "iordef.h"#include "utilities.h"#include "aiori-POSIX.h"
Go to the source code of this file.
Data Structures | |
| struct | posix_fd |
Macros | |
| #define | open64 open /* unlikely, but may pose */ |
| #define | lseek64 lseek /* unlikely, but may pose */ |
| #define | O_BINARY 0 |
Variables | |
| ior_aiori_t | posix_aiori |
| static aiori_xfer_hint_t * | hints = NULL |
| #define lseek64 lseek /* unlikely, but may pose */ |
Definition at line 83 of file aiori-POSIX.c.
Referenced by POSIX_Xfer().
| #define O_BINARY 0 |
Definition at line 87 of file aiori-POSIX.c.
Referenced by POSIX_Create(), and POSIX_Open().
| #define open64 open /* unlikely, but may pose */ |
Definition at line 79 of file aiori-POSIX.c.
Referenced by POSIX_Create(), and POSIX_Open().
| int POSIX_check_params | ( | aiori_mod_opt_t * | param | ) |
Definition at line 206 of file aiori-POSIX.c.
References posix_options_t::beegfs_chunkSize, posix_options_t::direct_io, ERR, ERRF, posix_options_t::gpuDirect, INFO, ISPOWEROFTWO, posix_options_t::lustre_set_striping, posix_options_t::lustre_stripe_count, posix_options_t::lustre_stripe_size, o, rc, verbose, VERBOSE_0, VERBOSE_1, VERBOSE_2, WARN, WARNF, and WRITE.
Referenced by aio_check_params().

| void POSIX_Close | ( | aiori_fd_t * | afd, |
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 815 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 * | param | ||
| ) |
Definition at line 488 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, posix_fd::fd, aiori_xfer_hint_t::filePerProc, posix_options_t::gpfs_finegrain_writesharing, 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, TRUE, and WARN.
Referenced by aio_create(), and MMAP_Create().


| void POSIX_Delete | ( | char * | testFileName, |
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 835 of file aiori-POSIX.c.
References aiori_xfer_hint_t::dryRun, rank, and WARNF.
|
static |
Definition at line 879 of file aiori-POSIX.c.
| void POSIX_Fsync | ( | aiori_fd_t * | afd, |
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 795 of file aiori-POSIX.c.
References WARNF.
Referenced by aio_Fsync(), and POSIX_Xfer().

| IOR_offset_t POSIX_GetFileSize | ( | aiori_mod_opt_t * | test, |
| char * | testFileName | ||
| ) |
Definition at line 858 of file aiori-POSIX.c.
References aiori_xfer_hint_t::dryRun, and ERRF.
|
static |
Definition at line 873 of file aiori-POSIX.c.
| int POSIX_Mknod | ( | char * | testFileName | ) |
Definition at line 606 of file aiori-POSIX.c.
References ERR.
| aiori_fd_t* POSIX_Open | ( | char * | testFileName, |
| int | flags, | ||
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 620 of file aiori-POSIX.c.
References posix_options_t::direct_io, aiori_xfer_hint_t::dryRun, ERRF, errno, posix_fd::fd, posix_options_t::gpfs_finegrain_readsharing, posix_options_t::gpfs_release_token, posix_options_t::gpuDirect, IOR_RDONLY, IOR_WRONLY, posix_options_t::lustre_ignore_locks, o, O_BINARY, open64, safeMalloc(), set_o_direct_flag(), and TRUE.
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 117 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_createsharing, posix_options_t::gpfs_finegrain_readsharing, posix_options_t::gpfs_finegrain_writesharing, 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, OPTION_OPTIONAL_ARGUMENT, and posix_options_t::range_locks.
Referenced by aio_options().

| int POSIX_Rename | ( | const char * | oldfile, |
| const char * | newfile, | ||
| aiori_mod_opt_t * | module_options | ||
| ) |
Definition at line 844 of file aiori-POSIX.c.
References aiori_xfer_hint_t::dryRun, rank, and WARNF.
| void POSIX_Sync | ( | aiori_mod_opt_t * | param | ) |
Definition at line 803 of file aiori-POSIX.c.
References FAIL.
Referenced by aio_Sync().

|
static |
Definition at line 671 of file aiori-POSIX.c.
References aiori_xfer_hint_t::dryRun, ERRF, errno, posix_fd::fd, aiori_xfer_hint_t::fsyncPerWrite, posix_options_t::gpfs_hint_access, posix_options_t::gpuDirect, INFOF, lseek64, MAX_RETRY, o, POSIX_Fsync(), posix_options_t::range_locks, rank, rc, aiori_xfer_hint_t::singleXferAttempt, TRUE, verbose, VERBOSE_4, WARN, WARNF, and WRITE.

| void POSIX_xfer_hints | ( | aiori_xfer_hint_t * | params | ) |
Definition at line 202 of file aiori-POSIX.c.
Referenced by aio_xfer_hints(), and MMAP_xfer_hints().

|
static |
Definition at line 200 of file aiori-POSIX.c.
| ior_aiori_t posix_aiori |
Definition at line 171 of file aiori-POSIX.c.
1.8.13