|
IOR
|
#include <stdlib.h>#include <unistd.h>#include <sys/types.h>#include <errno.h>#include <gfarm/gfarm.h>#include "ior.h"#include "aiori.h"
Go to the source code of this file.
Data Structures | |
| struct | gfarm_file |
Macros | |
| #define | MAX_SZ (1024 * 1024 * 1024) |
| #define | GFS_DEV ((dev_t)-1) |
| #define | GFS_BLKSIZE 8192 |
| #define | STAT_BLKSIZ 512 /* for st_blocks */ |
Variables | |
| static aiori_xfer_hint_t * | hints = NULL |
| ior_aiori_t | gfarm_aiori |
| #define GFS_BLKSIZE 8192 |
Definition at line 249 of file aiori-Gfarm.c.
Referenced by Gfarm_stat().
| #define GFS_DEV ((dev_t)-1) |
Definition at line 248 of file aiori-Gfarm.c.
Referenced by Gfarm_stat().
| #define MAX_SZ (1024 * 1024 * 1024) |
Referenced by Gfarm_xfer().
| #define STAT_BLKSIZ 512 /* for st_blocks */ |
Definition at line 250 of file aiori-Gfarm.c.
Referenced by Gfarm_stat().
| int Gfarm_access | ( | const char * | fn, |
| int | mode, | ||
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 230 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, and errno.
| void Gfarm_close | ( | aiori_fd_t * | fd, |
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 116 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, ERR, and gfarm_file::gf.
| aiori_fd_t* Gfarm_create | ( | char * | fn, |
| int | flag, | ||
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 38 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, ERR, gfarm_file::gf, and NULL.
| void Gfarm_delete | ( | char * | fn, |
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 129 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, and errno.
| void Gfarm_finalize | ( | ) |
Definition at line 32 of file aiori-Gfarm.c.
| void Gfarm_fsync | ( | aiori_fd_t * | fd, |
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 148 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, ERR, and gfarm_file::gf.
| IOR_offset_t Gfarm_get_file_size | ( | aiori_mod_opt_t * | param, |
| char * | fn | ||
| ) |
Definition at line 160 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, ERR, and min.
| void Gfarm_initialize | ( | ) |
Definition at line 26 of file aiori-Gfarm.c.
References NULL.
| int Gfarm_mkdir | ( | const char * | fn, |
| mode_t | mode, | ||
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 200 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, and errno.
| aiori_fd_t* Gfarm_open | ( | char * | fn, |
| int | flag, | ||
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 58 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, ERR, gfarm_file::gf, and NULL.
| int Gfarm_rmdir | ( | const char * | fn, |
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 215 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, and errno.
| int Gfarm_stat | ( | const char * | fn, |
| struct stat * | buf, | ||
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 253 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, errno, GFS_BLKSIZE, GFS_DEV, and STAT_BLKSIZ.
| int Gfarm_statfs | ( | const char * | fn, |
| ior_aiori_statfs_t * | st, | ||
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 177 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, errno, ior_aiori_statfs::f_bfree, ior_aiori_statfs::f_blocks, ior_aiori_statfs::f_bsize, ior_aiori_statfs::f_ffree, and ior_aiori_statfs::f_files.
| void Gfarm_sync | ( | aiori_mod_opt_t * | param | ) |
Definition at line 288 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun.
| char* Gfarm_version | ( | ) |
Definition at line 142 of file aiori-Gfarm.c.
| IOR_offset_t Gfarm_xfer | ( | int | access, |
| aiori_fd_t * | fd, | ||
| IOR_size_t * | buffer, | ||
| IOR_offset_t | len, | ||
| IOR_offset_t | offset, | ||
| aiori_mod_opt_t * | param | ||
| ) |
Definition at line 78 of file aiori-Gfarm.c.
References aiori_xfer_hint_t::dryRun, ERR, gfarm_file::gf, MAX_SZ, and WRITE.
| void Gfarm_xfer_hints | ( | aiori_xfer_hint_t * | params | ) |
Definition at line 20 of file aiori-Gfarm.c.
| ior_aiori_t gfarm_aiori |
Definition at line 297 of file aiori-Gfarm.c.
|
static |
Definition at line 17 of file aiori-Gfarm.c.
1.8.13