IOR
|
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <rados/librados.h>
#include "ior.h"
#include "iordef.h"
#include "aiori.h"
#include "utilities.h"
Go to the source code of this file.
Data Structures | |
struct | rados_options |
Macros | |
#define | RADOS_ERR(__err_str, __ret) |
Functions | |
static void * | RADOS_Create (char *, IOR_param_t *) |
static void * | RADOS_Open (char *, IOR_param_t *) |
static IOR_offset_t | RADOS_Xfer (int, void *, IOR_size_t *, IOR_offset_t, IOR_param_t *) |
static void | RADOS_Close (void *, IOR_param_t *) |
static void | RADOS_Delete (char *, IOR_param_t *) |
static void | RADOS_Fsync (void *, IOR_param_t *) |
static IOR_offset_t | RADOS_GetFileSize (IOR_param_t *, MPI_Comm, char *) |
static int | RADOS_StatFS (const char *, ior_aiori_statfs_t *, IOR_param_t *) |
static int | RADOS_MkDir (const char *, mode_t, IOR_param_t *) |
static int | RADOS_RmDir (const char *, IOR_param_t *) |
static int | RADOS_Access (const char *, int, IOR_param_t *) |
static int | RADOS_Stat (const char *, struct stat *, IOR_param_t *) |
static option_help * | RADOS_options () |
static void | RADOS_Cluster_Init (IOR_param_t *param) |
static void | RADOS_Cluster_Finalize (IOR_param_t *param) |
static void * | RADOS_Create_Or_Open (char *testFileName, IOR_param_t *param, int create_flag) |
Variables | |
static struct rados_options | o |
static option_help | options [] |
ior_aiori_t | rados_aiori |
#define RADOS_ERR | ( | __err_str, | |
__ret | |||
) |
Definition at line 86 of file aiori-RADOS.c.
Referenced by RADOS_Cluster_Init(), RADOS_Create_Or_Open(), RADOS_Delete(), RADOS_GetFileSize(), and RADOS_Xfer().
|
static |
Definition at line 333 of file aiori-RADOS.c.
References NULL, RADOS_Cluster_Finalize(), RADOS_Cluster_Init(), and IOR_param_t::rados_ioctx.
|
static |
Definition at line 228 of file aiori-RADOS.c.
References RADOS_Cluster_Finalize().
|
static |
Definition at line 123 of file aiori-RADOS.c.
References IOR_param_t::rados_cluster, and IOR_param_t::rados_ioctx.
Referenced by RADOS_Access(), RADOS_Close(), RADOS_Delete(), and RADOS_GetFileSize().
|
static |
Definition at line 96 of file aiori-RADOS.c.
References rados_options::conf, rados_options::pool, IOR_param_t::rados_cluster, RADOS_ERR, IOR_param_t::rados_ioctx, and rados_options::user.
Referenced by RADOS_Access(), RADOS_Create_Or_Open(), RADOS_Delete(), and RADOS_GetFileSize().
|
static |
Definition at line 173 of file aiori-RADOS.c.
References RADOS_Create_Or_Open(), and TRUE.
|
static |
Definition at line 132 of file aiori-RADOS.c.
References ERR, IOR_EXCL, NULL, IOR_param_t::openFlags, RADOS_Cluster_Init(), RADOS_ERR, IOR_param_t::rados_ioctx, TRUE, IOR_param_t::useO_DIRECT, and WARN.
Referenced by RADOS_Create(), and RADOS_Open().
|
static |
Definition at line 239 of file aiori-RADOS.c.
References NULL, RADOS_Cluster_Finalize(), RADOS_Cluster_Init(), RADOS_ERR, and IOR_param_t::rados_ioctx.
|
static |
Definition at line 223 of file aiori-RADOS.c.
|
static |
Definition at line 262 of file aiori-RADOS.c.
References IOR_param_t::filePerProc, MPI_CHECK, NULL, RADOS_Cluster_Finalize(), RADOS_Cluster_Init(), RADOS_ERR, IOR_param_t::rados_ioctx, rank, TRUE, and WARN.
|
static |
Definition at line 321 of file aiori-RADOS.c.
References WARN.
|
static |
Definition at line 178 of file aiori-RADOS.c.
References FALSE, IOR_CREAT, IOR_param_t::openFlags, RADOS_Create_Or_Open(), and TRUE.
|
static |
Definition at line 92 of file aiori-RADOS.c.
References options.
|
static |
Definition at line 327 of file aiori-RADOS.c.
References WARN.
|
static |
Definition at line 357 of file aiori-RADOS.c.
References WARN.
|
static |
Definition at line 314 of file aiori-RADOS.c.
References WARN.
|
static |
Definition at line 186 of file aiori-RADOS.c.
References NULL, IOR_param_t::offset, RADOS_ERR, IOR_param_t::rados_ioctx, and WRITE.
|
static |
Definition at line 37 of file aiori-RADOS.c.
|
static |
Definition at line 43 of file aiori-RADOS.c.
Referenced by RADOS_options().
ior_aiori_t rados_aiori |
Definition at line 68 of file aiori-RADOS.c.