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.
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 () |
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 104 of file aiori-IME.c.
|
static |
Definition at line 234 of file aiori-IME.c.
References ERR.
|
static |
Definition at line 114 of file aiori-IME.c.
References IME_Open().
|
static |
Definition at line 248 of file aiori-IME.c.
|
static |
Definition at line 96 of file aiori-IME.c.
|
static |
Definition at line 225 of file aiori-IME.c.
References WARN.
Referenced by IME_Xfer().
|
static |
Definition at line 323 of file aiori-IME.c.
References ERR, IOR_param_t::filePerProc, MPI_CHECK, rank, and WARN.
|
static |
Definition at line 260 of file aiori-IME.c.
|
static |
Definition at line 88 of file aiori-IME.c.
|
static |
Definition at line 288 of file aiori-IME.c.
References WARN.
|
static |
Definition at line 122 of file aiori-IME.c.
References ERR, IOR_APPEND, IOR_CREAT, IOR_EXCL, IOR_RDONLY, IOR_RDWR, IOR_TRUNC, IOR_WRONLY, NULL, O_BINARY, IOR_param_t::openFlags, set_o_direct_flag(), and IOR_param_t::useO_DIRECT.
Referenced by IME_Create().
|
static |
Definition at line 301 of file aiori-IME.c.
References WARN.
|
static |
Definition at line 313 of file aiori-IME.c.
|
static |
Definition at line 274 of file aiori-IME.c.
References WARN.
|
static |
Definition at line 161 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 64 of file aiori-IME.c.
int rank |
Definition at line 57 of file utilities.c.
Referenced by CheckFileSize(), collective_create_remove(), collective_helper(), CompareBuffers(), CountErrors(), create_file(), create_remove_directory_tree(), create_remove_dirs(), create_remove_items(), create_remove_items_helper(), DecodeDirective(), directory_test(), display_freespace(), DisplayOutliers(), DistributeHints(), DUMMY_Create(), DUMMY_Xfer(), file_hits_histogram(), file_test(), FillBuffer(), GetTestFileName(), HDF5_Open(), HDF5_Xfer(), HDFS_Create_Or_Open(), HDFS_Delete(), HDFS_GetFileSize(), HDFS_Xfer(), IME_Delete(), IME_GetFileSize(), IME_Xfer(), ior_main(), ior_run(), mdtest_iteration(), mdtest_read(), mdtest_run(), mdtest_stat(), MPIIO_GetFileSize(), NCMPI_Create(), NCMPI_Open(), NCMPI_Xfer(), offset_timers(), parse_dirpath(), POSIX_Create(), POSIX_Delete(), POSIX_GetFileSize(), POSIX_Xfer(), PrependDir(), PrintEarlyHeader(), PrintHeader(), PrintLongSummaryAllTests(), PrintLongSummaryHeader(), PrintLongSummaryOneOperation(), PrintRemoveTiming(), 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(), show_file_system_size(), ShowTestEnd(), summarize_results(), TestIoSys(), unique_dir_access(), updateStoneWallIterations(), valid_tests(), WriteOrRead(), and WriteTimes().
int rankOffset |
Definition at line 58 of file utilities.c.
Referenced by file_hits_histogram(), GetTestFileName(), HDF5_Xfer(), NCMPI_Xfer(), PrependDir(), RemoveFile(), SeekOffset(), SetupDataSet(), TestIoSys(), and WriteOrRead().
MPI_Comm testComm |
Definition at line 61 of file utilities.c.
Referenced by CheckFileSize(), CountErrors(), directory_test(), DisplayOutliers(), file_test(), HDF5_Open(), HDFS_Create_Or_Open(), mdtest_iteration(), mdtest_run(), MPIIO_GetFileSize(), NCMPI_Create(), NCMPI_Open(), POSIX_Create(), ReduceIterResults(), summarize_results(), TestIoSys(), unique_dir_access(), updateStoneWallIterations(), valid_tests(), and WriteOrRead().
int verbose |
Definition at line 60 of file utilities.c.
Referenced by CheckFileSize(), collective_create_remove(), collective_helper(), CompareBuffers(), create_file(), create_remove_directory_tree(), create_remove_dirs(), create_remove_items(), create_remove_items_helper(), directory_test(), display_freespace(), DUMMY_Close(), DUMMY_Create(), DUMMY_Delete(), DUMMY_Fsync(), DUMMY_GetFileSize(), DUMMY_Open(), DUMMY_Xfer(), file_test(), HDFS_Xfer(), HogMemory(), IME_Xfer(), ior_main(), ior_run(), mdtest_iteration(), mdtest_read(), mdtest_run(), mdtest_stat(), offset_timers(), parse_dirpath(), POSIX_Open(), POSIX_Xfer(), PrintHeader(), PrintLongSummaryAllTests(), PrintLongSummaryHeader(), PrintLongSummaryOneOperation(), PrintRemoveTiming(), PrintShortSummary(), PrintTestEnds(), ReduceIterResults(), remove_file(), S3_Create_Or_Open_internal(), S3_Xfer_internal(), SetupDataSet(), show_file_system_size(), ShowTestStart(), summarize_results(), TestIoSys(), unique_dir_access(), updateStoneWallIterations(), valid_tests(), and WriteOrRead().