IOR
|
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <assert.h>
#include "ior.h"
#include "aiori.h"
#include "iordef.h"
#include "utilities.h"
Go to the source code of this file.
Macros | |
#define | open64 open /* unlikely, but may pose */ |
#define | lseek64 lseek /* unlikely, but may pose */ |
#define | O_BINARY 0 |
Functions | |
static IOR_offset_t | POSIX_Xfer (int, void *, IOR_size_t *, IOR_offset_t, IOR_param_t *) |
static void | POSIX_Fsync (void *, IOR_param_t *) |
void * | POSIX_Create (char *testFileName, IOR_param_t *param) |
void * | POSIX_Open (char *testFileName, IOR_param_t *param) |
void | POSIX_Close (void *fd, IOR_param_t *param) |
void | POSIX_Delete (char *testFileName, IOR_param_t *param) |
IOR_offset_t | POSIX_GetFileSize (IOR_param_t *test, MPI_Comm testComm, char *testFileName) |
Variables | |
ior_aiori_t | posix_aiori |
#define lseek64 lseek /* unlikely, but may pose */ |
Definition at line 63 of file aiori-POSIX.c.
Referenced by POSIX_Xfer().
#define O_BINARY 0 |
Definition at line 67 of file aiori-POSIX.c.
Referenced by POSIX_Create(), and POSIX_Open().
#define open64 open /* unlikely, but may pose */ |
Definition at line 59 of file aiori-POSIX.c.
Referenced by POSIX_Create(), and POSIX_Open().
void POSIX_Close | ( | void * | fd, |
IOR_param_t * | param | ||
) |
Definition at line 506 of file aiori-POSIX.c.
References ERR.
Referenced by MMAP_Close().
void* POSIX_Create | ( | char * | testFileName, |
IOR_param_t * | param | ||
) |
Definition at line 267 of file aiori-POSIX.c.
References IOR_param_t::beegfs_chunkSize, IOR_param_t::beegfs_numTargets, ERR, errno, EWARN, IOR_param_t::filePerProc, IOR_param_t::gpfs_release_token, IOR_param_t::lustre_ignore_locks, IOR_param_t::lustre_set_striping, IOR_param_t::lustre_start_ost, IOR_param_t::lustre_stripe_count, IOR_param_t::lustre_stripe_size, MPI_CHECK, NULL, O_BINARY, open64, rank, set_o_direct_flag(), testComm, TRUE, and IOR_param_t::useO_DIRECT.
Referenced by MMAP_Create().
void POSIX_Delete | ( | char * | testFileName, |
IOR_param_t * | param | ||
) |
Definition at line 516 of file aiori-POSIX.c.
|
static |
Definition at line 497 of file aiori-POSIX.c.
References EWARN.
Referenced by POSIX_Xfer().
IOR_offset_t POSIX_GetFileSize | ( | IOR_param_t * | test, |
MPI_Comm | testComm, | ||
char * | testFileName | ||
) |
Definition at line 528 of file aiori-POSIX.c.
References ERR, IOR_param_t::filePerProc, MPI_CHECK, rank, TRUE, and WARN.
void* POSIX_Open | ( | char * | testFileName, |
IOR_param_t * | param | ||
) |
Definition at line 378 of file aiori-POSIX.c.
References ERR, IOR_param_t::gpfs_release_token, IOR_param_t::lustre_ignore_locks, NULL, O_BINARY, open64, set_o_direct_flag(), TRUE, IOR_param_t::useO_DIRECT, verbose, and VERBOSE_1.
Referenced by MMAP_Open().
|
static |
Definition at line 418 of file aiori-POSIX.c.
References ERR, IOR_param_t::fsyncPerWrite, IOR_param_t::gpfs_hint_access, lseek64, MAX_RETRY, MPI_CHECK, IOR_param_t::offset, POSIX_Fsync(), rank, rc, IOR_param_t::singleXferAttempt, TRUE, verbose, VERBOSE_4, and WRITE.
ior_aiori_t posix_aiori |
Definition at line 77 of file aiori-POSIX.c.