IOR
Data Structures | Functions
aiori-POSIX.h File Reference
#include "aiori.h"
Include dependency graph for aiori-POSIX.h:
This graph shows which files directly or indirectly include this file:

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_tPOSIX_Create (char *testFileName, int flags, aiori_mod_opt_t *module_options)
 
int POSIX_Mknod (char *testFileName)
 
aiori_fd_tPOSIX_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_helpPOSIX_options (aiori_mod_opt_t **init_backend_options, aiori_mod_opt_t *init_values)
 
void POSIX_xfer_hints (aiori_xfer_hint_t *params)
 

Function Documentation

◆ POSIX_check_params()

int POSIX_check_params ( aiori_mod_opt_t param)

◆ POSIX_Close()

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().

Here is the caller graph for this function:

◆ POSIX_Create()

aiori_fd_t* POSIX_Create ( char *  testFileName,
int  flags,
aiori_mod_opt_t module_options 
)

◆ POSIX_Delete()

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.

◆ POSIX_Fsync()

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().

Here is the caller graph for this function:

◆ POSIX_GetFileSize()

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.

◆ POSIX_Mknod()

int POSIX_Mknod ( char *  testFileName)

Definition at line 515 of file aiori-POSIX.c.

References ERR.

◆ POSIX_Open()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ POSIX_options()

option_help* POSIX_options ( aiori_mod_opt_t **  init_backend_options,
aiori_mod_opt_t init_values 
)

◆ POSIX_Rename()

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.

◆ POSIX_Sync()

void POSIX_Sync ( aiori_mod_opt_t param)

Definition at line 676 of file aiori-POSIX.c.

References FAIL.

Referenced by aio_Sync().

Here is the caller graph for this function:

◆ POSIX_xfer_hints()

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().

Here is the caller graph for this function: