|
IOR
|
#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <sys/stat.h>#include <cephfs/libcephfs.h>#include "ior.h"#include "iordef.h"#include "aiori.h"#include "utilities.h"
Go to the source code of this file.
Data Structures | |
| struct | cephfs_options |
Macros | |
| #define | CEPH_O_RDONLY 00000000 |
| #define | CEPH_O_WRONLY 00000001 |
| #define | CEPH_O_RDWR 00000002 |
| #define | CEPH_O_CREAT 00000100 |
| #define | CEPH_O_EXCL 00000200 |
| #define | CEPH_O_TRUNC 00001000 |
| #define | CEPH_O_LAZY 00020000 |
| #define | CEPH_O_DIRECTORY 00200000 |
| #define | CEPH_O_NOFOLLOW 00400000 |
| #define | CEPHFS_ERR(__err_str, __ret) |
Variables | |
| static struct cephfs_options | o |
| static option_help | options [] |
| static struct ceph_mount_info * | cmount |
| static aiori_xfer_hint_t * | hints = NULL |
| ior_aiori_t | cephfs_aiori |
| #define CEPH_O_CREAT 00000100 |
Definition at line 35 of file aiori-CEPHFS.c.
Referenced by CEPHFS_Open().
| #define CEPH_O_DIRECTORY 00200000 |
Definition at line 39 of file aiori-CEPHFS.c.
| #define CEPH_O_EXCL 00000200 |
Definition at line 36 of file aiori-CEPHFS.c.
Referenced by CEPHFS_Open().
| #define CEPH_O_LAZY 00020000 |
Definition at line 38 of file aiori-CEPHFS.c.
| #define CEPH_O_NOFOLLOW 00400000 |
Definition at line 40 of file aiori-CEPHFS.c.
| #define CEPH_O_RDONLY 00000000 |
Definition at line 32 of file aiori-CEPHFS.c.
Referenced by CEPHFS_Open().
| #define CEPH_O_RDWR 00000002 |
Definition at line 34 of file aiori-CEPHFS.c.
Referenced by CEPHFS_Open().
| #define CEPH_O_TRUNC 00001000 |
Definition at line 37 of file aiori-CEPHFS.c.
Referenced by CEPHFS_Open().
| #define CEPH_O_WRONLY 00000001 |
Definition at line 33 of file aiori-CEPHFS.c.
Referenced by CEPHFS_Open().
| #define CEPHFS_ERR | ( | __err_str, | |
| __ret | |||
| ) |
Definition at line 116 of file aiori-CEPHFS.c.
Referenced by CEPHFS_Close(), CEPHFS_Delete(), CEPHFS_Final(), CEPHFS_Fsync(), CEPHFS_GetFileSize(), CEPHFS_Init(), CEPHFS_Open(), CEPHFS_StatFS(), CEPHFS_Sync(), and CEPHFS_Xfer().
|
static |
Definition at line 392 of file aiori-CEPHFS.c.
References cmount, and pfix().

|
static |
Definition at line 304 of file aiori-CEPHFS.c.
References CEPHFS_ERR, and cmount.
|
static |
Definition at line 209 of file aiori-CEPHFS.c.
References CEPHFS_Open(), and IOR_CREAT.

|
static |
Definition at line 315 of file aiori-CEPHFS.c.
References CEPHFS_ERR, cmount, and pfix().

|
static |
Definition at line 195 of file aiori-CEPHFS.c.
References CEPHFS_ERR, cmount, and NULL.
|
static |
Definition at line 295 of file aiori-CEPHFS.c.
References CEPHFS_ERR, and cmount.
Referenced by CEPHFS_Xfer().

|
static |
Definition at line 324 of file aiori-CEPHFS.c.
References CEPHFS_ERR, cmount, aiori_xfer_hint_t::filePerProc, MPI_CHECK, pfix(), rank, testComm, TRUE, and WARN.

|
static |
Definition at line 143 of file aiori-CEPHFS.c.
References CEPHFS_ERR, cmount, cephfs_options::conf, NULL, cephfs_options::prefix, cephfs_options::remote_prefix, cephfs_options::user, and WARN.
|
static |
Definition at line 382 of file aiori-CEPHFS.c.
References cmount, and pfix().

|
static |
Definition at line 214 of file aiori-CEPHFS.c.
References CEPH_O_CREAT, CEPH_O_EXCL, CEPH_O_RDONLY, CEPH_O_RDWR, CEPH_O_TRUNC, CEPH_O_WRONLY, CEPHFS_ERR, cmount, IOR_APPEND, IOR_CREAT, IOR_DIRECT, IOR_EXCL, IOR_RDONLY, IOR_RDWR, IOR_TRUNC, IOR_WRONLY, cephfs_options::olazy, pfix(), TRUE, and WARN.
Referenced by CEPHFS_Create().


|
static |
Definition at line 139 of file aiori-CEPHFS.c.
References options.
|
static |
Definition at line 387 of file aiori-CEPHFS.c.
References cmount, and pfix().

|
static |
Definition at line 398 of file aiori-CEPHFS.c.
References cmount, and pfix().

|
static |
Definition at line 359 of file aiori-CEPHFS.c.
References CEPHFS_ERR, cmount, 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, pfix(), and WARN.

|
static |
Definition at line 403 of file aiori-CEPHFS.c.
References CEPHFS_ERR, and cmount.
|
static |
Definition at line 262 of file aiori-CEPHFS.c.
References CEPHFS_ERR, CEPHFS_Fsync(), cmount, aiori_xfer_hint_t::fsyncPerWrite, TRUE, and WRITE.

| void CEPHFS_xfer_hints | ( | aiori_xfer_hint_t * | params | ) |
Definition at line 123 of file aiori-CEPHFS.c.
|
static |
Definition at line 128 of file aiori-CEPHFS.c.
References cephfs_options::prefix.
Referenced by CEPHFS_Access(), CEPHFS_Delete(), CEPHFS_GetFileSize(), CEPHFS_MkDir(), CEPHFS_Open(), CEPHFS_RmDir(), CEPHFS_Stat(), and CEPHFS_StatFS().

| ior_aiori_t cephfs_aiori |
Definition at line 93 of file aiori-CEPHFS.c.
|
static |
Definition at line 68 of file aiori-CEPHFS.c.
Referenced by CEPHFS_Access(), CEPHFS_Close(), CEPHFS_Delete(), CEPHFS_Final(), CEPHFS_Fsync(), CEPHFS_GetFileSize(), CEPHFS_Init(), CEPHFS_MkDir(), CEPHFS_Open(), CEPHFS_RmDir(), CEPHFS_Stat(), CEPHFS_StatFS(), CEPHFS_Sync(), and CEPHFS_Xfer().
|
static |
Definition at line 90 of file aiori-CEPHFS.c.
|
static |
|
static |
Definition at line 59 of file aiori-CEPHFS.c.
Referenced by CEPHFS_options(), createGlobalOptions(), mdtest_run(), ParseCommandLine(), and S3_xfer_hints().
1.8.13