PostgreSQL Source Code: PgAioHandle Struct Reference (original) (raw)
#include <[aio_internal.h](aio%5F%5Finternal%5F8h%5Fsource.html)>
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:
- IDLE, in per-backend list
- HANDED_OUT - not in a list
- DEFINED - not in a list
- STAGED - in per-backend staged array
- SUBMITTED - in issuer's in_flight list
- COMPLETED_IO - in issuer's in_flight list
- COMPLETED_SHARED - in issuer's in_flight list
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:
- src/include/storage/aio_internal.h