IOR
|
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include "ior.h"
#include "iordef.h"
#include "aiori.h"
#include "utilities.h"
#include "ime_native.h"
Go to the source code of this file.
Data Structures | |
struct | ime_options_t |
Macros | |
#define | O_BINARY 0 |
Functions | |
static void * | IME_Create (char *, IOR_param_t *) |
static void * | IME_Open (char *, IOR_param_t *) |
static void | IME_Close (void *, IOR_param_t *) |
static void | IME_Delete (char *, IOR_param_t *) |
static char * | IME_GetVersion () |
static void | IME_Fsync (void *, IOR_param_t *) |
static int | IME_Access (const char *, int, IOR_param_t *) |
static IOR_offset_t | IME_GetFileSize (IOR_param_t *, MPI_Comm, char *) |
static IOR_offset_t | IME_Xfer (int, void *, IOR_size_t *, IOR_offset_t, IOR_param_t *) |
static int | IME_StatFS (const char *, ior_aiori_statfs_t *, IOR_param_t *) |
static int | IME_RmDir (const char *, IOR_param_t *) |
static int | IME_MkDir (const char *, mode_t, IOR_param_t *) |
static int | IME_Stat (const char *, struct stat *, IOR_param_t *) |
static void | IME_Initialize () |
static void | IME_Finalize () |
option_help * | IME_options (void **init_backend_options, void *init_values) |
Variables | |
int | rank |
int | rankOffset |
int | verbose |
MPI_Comm | testComm |
ior_aiori_t | ime_aiori |
#define O_BINARY 0 |
Definition at line 34 of file aiori-IME.c.
Referenced by IME_Open().
|
static |
Definition at line 144 of file aiori-IME.c.
|
static |
Definition at line 276 of file aiori-IME.c.
References ERR.
|
static |
Definition at line 154 of file aiori-IME.c.
References IME_Open().
|
static |
Definition at line 290 of file aiori-IME.c.
|
static |
Definition at line 136 of file aiori-IME.c.
|
static |
Definition at line 267 of file aiori-IME.c.
References WARN.
Referenced by IME_Xfer().
|
static |
Definition at line 384 of file aiori-IME.c.
References ERR, FAIL, IOR_param_t::filePerProc, MPI_CHECK, param, rank, and WARN.
|
static |
Definition at line 302 of file aiori-IME.c.
|
static |
Definition at line 128 of file aiori-IME.c.
|
static |
Definition at line 342 of file aiori-IME.c.
References WARN.
|
static |
Definition at line 162 of file aiori-IME.c.
References IOR_param_t::backend_options, ime_options_t::direct_io, ERR, IOR_APPEND, IOR_CREAT, IOR_EXCL, IOR_RDONLY, IOR_RDWR, IOR_TRUNC, IOR_WRONLY, NULL, o, O_BINARY, IOR_param_t::openFlags, set_o_direct_flag(), and TRUE.
Referenced by IME_Create().
option_help* IME_options | ( | void ** | init_backend_options, |
void * | init_values | ||
) |
Definition at line 70 of file aiori-IME.c.
References ime_options_t::direct_io, LAST_OPTION, NULL, o, OPTION_FLAG, rank, rankOffset, testComm, and verbose.
|
static |
Definition at line 357 of file aiori-IME.c.
References WARN.
|
static |
Definition at line 374 of file aiori-IME.c.
|
static |
Definition at line 313 of file aiori-IME.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, and WARN.
|
static |
Definition at line 203 of file aiori-IME.c.
References ERR, IOR_param_t::fsyncPerWrite, IME_Fsync(), MAX_RETRY, MPI_CHECK, IOR_param_t::offset, rank, rc, IOR_param_t::singleXferAttempt, verbose, VERBOSE_4, and WRITE.
ior_aiori_t ime_aiori |
Definition at line 97 of file aiori-IME.c.
int rank |
Definition at line 57 of file utilities.c.
Referenced by CEPHFS_GetFileSize(), CheckFileSize(), collective_helper(), CompareBuffers(), CountErrors(), DAOS_Create(), DAOS_Fini(), DAOS_GetFileSize(), DAOS_Init(), DAOS_Open(), DecodeDirective(), DFS_Create(), DFS_Finalize(), DFS_GetFileSize(), DFS_Init(), directory_test(), DisplayOutliers(), DistributeHints(), DUMMY_Create(), DUMMY_Xfer(), file_hits_histogram(), file_test(), FillBuffer(), GetTestFileName(), Gfarm_get_file_size(), HandleDistribute(), HDF5_Open(), HDF5_Xfer(), HDFS_Create_Or_Open(), HDFS_Delete(), HDFS_GetFileSize(), HDFS_Xfer(), IME_Delete(), IME_GetFileSize(), IME_options(), IME_Xfer(), InitTests(), ior_main(), ior_run(), mdtest_iteration(), mdtest_run(), MPIIO_GetFileSize(), NCMPI_Create(), NCMPI_Open(), NCMPI_Xfer(), POSIX_Create(), POSIX_Delete(), POSIX_GetFileSize(), POSIX_Xfer(), PrependDir(), PrintArrayEnd(), PrintArrayNamedStart(), PrintArrayStart(), PrintEndSection(), PrintHeader(), PrintLongSummaryAllTests(), PrintLongSummaryHeader(), PrintLongSummaryOneOperation(), PrintRemoveTiming(), PrintRepeatEnd(), PrintRepeatStart(), PrintShortSummary(), PrintTestEnds(), RADOS_GetFileSize(), ReduceIterResults(), remove_file(), RemoveFile(), S3_Close_internal(), s3_connect(), S3_Create_Or_Open_internal(), S3_GetFileSize(), S3_Xfer_internal(), SeekOffset(), SetupDataSet(), ShowTestEnd(), summarize_results(), TestIoSys(), valid_tests(), VerboseMessage(), WriteOrRead(), and WriteTimes().
int rankOffset |
Definition at line 58 of file utilities.c.
Referenced by file_hits_histogram(), GetTestFileName(), HDF5_Xfer(), IME_options(), NCMPI_Xfer(), PrependDir(), RemoveFile(), SeekOffset(), SetupDataSet(), TestIoSys(), and WriteOrRead().
MPI_Comm testComm |
Definition at line 60 of file utilities.c.
Referenced by CheckFileSize(), CountErrors(), directory_test(), DisplayOutliers(), file_test(), HDF5_Open(), HDFS_Create_Or_Open(), IME_options(), mdtest_iteration(), mdtest_run(), MPIIO_GetFileSize(), NCMPI_Create(), NCMPI_Open(), phase_end(), POSIX_Create(), ReduceIterResults(), summarize_results(), TestIoSys(), unique_dir_access(), updateStoneWallIterations(), and WriteOrRead().
int verbose |
Definition at line 59 of file utilities.c.
Referenced by CheckFileSize(), CompareBuffers(), DUMMY_Close(), DUMMY_Create(), DUMMY_Delete(), DUMMY_Fsync(), DUMMY_GetFileSize(), DUMMY_Open(), DUMMY_Xfer(), HDFS_Xfer(), HogMemory(), IME_options(), IME_Xfer(), ior_main(), ior_run(), mdtest_run(), POSIX_Open(), POSIX_Xfer(), PrintHeader(), PrintLongSummaryAllTests(), PrintLongSummaryHeader(), PrintLongSummaryOneOperation(), PrintRemoveTiming(), PrintShortSummary(), PrintTestEnds(), ReduceIterResults(), RemoveFile(), S3_Create_Or_Open_internal(), S3_Xfer_internal(), SetupDataSet(), ShowTestStart(), TestIoSys(), VerboseMessage(), and WriteOrRead().