PostgreSQL Source Code git master
|
Go to the source code of this file.
Functions | |
bool | pgaio_io_has_target (PgAioHandle *ioh) |
const char * | pgaio_io_get_target_name (PgAioHandle *ioh) |
void | pgaio_io_set_target (PgAioHandle *ioh, PgAioTargetID targetid) |
PgAioTargetData * | pgaio_io_get_target_data (PgAioHandle *ioh) |
char * | pgaio_io_get_target_description (PgAioHandle *ioh) |
bool | pgaio_io_can_reopen (PgAioHandle *ioh) |
void | pgaio_io_reopen (PgAioHandle *ioh) |
Variables | |
static const PgAioTargetInfo * | pgaio_target_info [] |
bool pgaio_io_can_reopen | ( | PgAioHandle * | ioh | ) |
Definition at line 97 of file aio_target.c.
References pgaio_target_info, PgAioTargetInfo::reopen, and PgAioHandle::target.
Referenced by pgaio_worker_needs_synchronous_execution().
PgAioTargetData * pgaio_io_get_target_data | ( | PgAioHandle * | ioh | ) |
char * pgaio_io_get_target_description | ( | PgAioHandle * | ioh | ) |
Definition at line 81 of file aio_target.c.
References PgAioTargetInfo::describe_identity, pgaio_target_info, PgAioHandle::target, and PgAioHandle::target_data.
const char * pgaio_io_get_target_name | ( | PgAioHandle * | ioh | ) |
Definition at line 48 of file aio_target.c.
References Assert(), PgAioTargetInfo::name, pgaio_target_info, PGAIO_TID_COUNT, and PgAioHandle::target.
bool pgaio_io_has_target | ( | PgAioHandle * | ioh | ) |
Definition at line 38 of file aio_target.c.
References PGAIO_TID_INVALID, and PgAioHandle::target.
Referenced by pgaio_io_before_prep(), and pgaio_io_stage().
void pgaio_io_reopen | ( | PgAioHandle * | ioh | ) |
Definition at line 108 of file aio_target.c.
References Assert(), PgAioHandle::op, PGAIO_OP_COUNT, pgaio_target_info, PGAIO_TID_COUNT, PgAioTargetInfo::reopen, and PgAioHandle::target.
Referenced by IoWorkerMain().
void pgaio_io_set_target | ( | PgAioHandle * | ioh, |
PgAioTargetID | targetid | ||
) |
Definition at line 61 of file aio_target.c.
References Assert(), PGAIO_HS_HANDED_OUT, PGAIO_TID_INVALID, PgAioHandle::state, and PgAioHandle::target.
|
static |
Definition at line 24 of file aio_target.c.
Referenced by pgaio_io_can_reopen(), pgaio_io_get_target_description(), pgaio_io_get_target_name(), and pgaio_io_reopen().