IOR
|
#include <libaio.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/stat.h>
#include <assert.h>
#include <unistd.h>
#include "ior.h"
#include "aiori.h"
#include "iordef.h"
#include "utilities.h"
#include "aiori-POSIX.h"
Go to the source code of this file.
Data Structures | |
struct | aio_options_t |
struct | aio_fd_t |
Functions | |
option_help * | aio_options (aiori_mod_opt_t **init_backend_options, aiori_mod_opt_t *init_values) |
static void | aio_xfer_hints (aiori_xfer_hint_t *params) |
static void | aio_initialize (aiori_mod_opt_t *param) |
static void | aio_finalize (aiori_mod_opt_t *param) |
static int | aio_check_params (aiori_mod_opt_t *param) |
static aiori_fd_t * | aio_Open (char *testFileName, int flags, aiori_mod_opt_t *param) |
static aiori_fd_t * | aio_create (char *testFileName, int flags, aiori_mod_opt_t *param) |
static void | submit_pending (aio_options_t *o) |
static void | complete_all (aio_options_t *o) |
static void | process_some (aio_options_t *o) |
static IOR_offset_t | aio_Xfer (int access, aiori_fd_t *fd, IOR_size_t *buffer, IOR_offset_t length, IOR_offset_t offset, aiori_mod_opt_t *param) |
static void | aio_Close (aiori_fd_t *fd, aiori_mod_opt_t *param) |
static void | aio_Fsync (aiori_fd_t *fd, aiori_mod_opt_t *param) |
static void | aio_Sync (aiori_mod_opt_t *param) |
Variables | |
static aiori_xfer_hint_t * | hints = NULL |
ior_aiori_t | aio_aiori |
|
static |
Definition at line 99 of file aiori-aio.c.
References ERRF, aio_options_t::granularity, aio_options_t::max_pending, o, aio_options_t::p, and POSIX_check_params().
|
static |
Definition at line 212 of file aiori-aio.c.
References complete_all(), o, aio_options_t::p, aio_fd_t::pfd, and POSIX_Close().
|
static |
Definition at line 118 of file aiori-aio.c.
References o, aio_options_t::p, aio_fd_t::pfd, and POSIX_Create().
|
static |
Definition at line 94 of file aiori-aio.c.
References aio_options_t::ioctx, and o.
|
static |
Definition at line 219 of file aiori-aio.c.
References complete_all(), o, aio_options_t::p, aio_fd_t::pfd, and POSIX_Fsync().
|
static |
Definition at line 82 of file aiori-aio.c.
References ERRF, errno, aio_options_t::granularity, aio_options_t::in_flight, aio_options_t::iocbs, aio_options_t::iocbs_pos, aio_options_t::ioctx, aio_options_t::max_pending, and o.
|
static |
Definition at line 111 of file aiori-aio.c.
References o, aio_options_t::p, aio_fd_t::pfd, and POSIX_Open().
option_help* aio_options | ( | aiori_mod_opt_t ** | init_backend_options, |
aiori_mod_opt_t * | init_values | ||
) |
Definition at line 43 of file aiori-aio.c.
References aio_options_t::granularity, LAST_OPTION, aio_options_t::max_pending, NULL, o, option_merge(), OPTION_OPTIONAL_ARGUMENT, aio_options_t::p, and POSIX_options().
|
static |
Definition at line 226 of file aiori-aio.c.
References complete_all(), o, aio_options_t::p, and POSIX_Sync().
|
static |
Definition at line 186 of file aiori-aio.c.
References aio_options_t::granularity, aio_options_t::in_flight, aio_options_t::iocbs, aio_options_t::iocbs_pos, aio_options_t::max_pending, o, aio_options_t::pending_bytes, aio_fd_t::pfd, process_some(), submit_pending(), and WRITE.
|
static |
Definition at line 77 of file aiori-aio.c.
References POSIX_xfer_hints().
|
static |
Definition at line 143 of file aiori-aio.c.
References ERR, ERRF, NULL, and submit_pending().
Referenced by aio_Close(), aio_Fsync(), and aio_Sync().
|
static |
Definition at line 165 of file aiori-aio.c.
References ERR, aio_options_t::in_flight, and NULL.
Referenced by aio_Xfer().
|
static |
Definition at line 126 of file aiori-aio.c.
References ERR, ERRF, errno, aio_options_t::iocbs, aio_options_t::iocbs_pos, and aio_options_t::ioctx.
Referenced by aio_Xfer(), and complete_all().
ior_aiori_t aio_aiori |
Definition at line 234 of file aiori-aio.c.
|
static |
Definition at line 75 of file aiori-aio.c.
Referenced by ior_set_xfer_hints().