PostgreSQL Source Code: PgAioHandle Struct Reference (original) (raw)

#include <[aio_internal.h](aio%5F%5Finternal%5F8h%5Fsource.html)>

Data Fields
PgAioHandleState state:8
PgAioTargetID target:8
PgAioOp op:8
uint8 flags
uint8 num_callbacks
uint8 callbacks [PGAIO_HANDLE_MAX_CALLBACKS]
uint8 callbacks_data [PGAIO_HANDLE_MAX_CALLBACKS]
uint8 handle_data_len
int32 owner_procno
int32 result
dlist_node node
struct ResourceOwnerData * resowner
dlist_node resowner_node
uint64 generation
ConditionVariable cv
PgAioResult distilled_result
uint32 iovec_off
PgAioReturn * report_return
PgAioOpData op_data
PgAioTargetData target_data

Definition at line 96 of file aio_internal.h.

callbacks

callbacks_data

cv

distilled_result

flags

generation

uint64 PgAioHandle::generation

handle_data_len

uint8 PgAioHandle::handle_data_len

iovec_off

node

In which list the handle is registered, depends on the state:

Definition at line 140 of file aio_internal.h.

Referenced by AioShmemInit(), pgaio_io_prepare_submit(), and pgaio_io_reclaim().

num_callbacks

uint8 PgAioHandle::num_callbacks

op

Definition at line 105 of file aio_internal.h.

Referenced by pg_get_aios(), pgaio_io_before_start(), pgaio_io_call_complete_local(), pgaio_io_call_complete_shared(), pgaio_io_call_stage(), pgaio_io_get_iovec_length(), pgaio_io_get_op(), pgaio_io_get_op_name(), pgaio_io_perform_synchronously(), pgaio_io_reclaim(), pgaio_io_reopen(), pgaio_io_stage(), and pgaio_io_uses_fd().

op_data

owner_procno

int32 PgAioHandle::owner_procno

report_return

resowner

resowner_node

result

int32 PgAioHandle::result

state

Definition at line 99 of file aio_internal.h.

Referenced by pg_get_aios(), pgaio_io_acquire_nb(), pgaio_io_before_start(), pgaio_io_get_iovec(), pgaio_io_get_iovec_length(), pgaio_io_get_state_name(), pgaio_io_get_wref(), pgaio_io_process_completion(), pgaio_io_reclaim(), pgaio_io_release(), pgaio_io_release_resowner(), pgaio_io_set_flag(), pgaio_io_set_handle_data_32(), pgaio_io_set_handle_data_64(), pgaio_io_set_target(), pgaio_io_stage(), pgaio_io_update_state(), pgaio_io_uses_fd(), pgaio_io_wait_for_free(), and pgaio_io_was_recycled().

target

target_data


The documentation for this struct was generated from the following file: