PostgreSQL Source Code git master
Data Fields
PgAioHandle Struct Reference

#include <aio_internal.h>

Data Fields

 
 
uint8  op
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Detailed Description

Definition at line 102 of file aio_internal.h.

Field Documentation

callbacks

uint8 PgAioHandle::callbacks[PGAIO_HANDLE_MAX_CALLBACKS]

Definition at line 119 of file aio_internal.h.

Referenced by pgaio_io_call_complete_local(), pgaio_io_call_complete_shared(), pgaio_io_call_stage(), and pgaio_io_register_callbacks().

callbacks_data

uint8 PgAioHandle::callbacks_data[PGAIO_HANDLE_MAX_CALLBACKS]

Definition at line 122 of file aio_internal.h.

Referenced by pgaio_io_call_complete_local(), pgaio_io_call_complete_shared(), pgaio_io_call_stage(), and pgaio_io_register_callbacks().

cv

ConditionVariable PgAioHandle::cv

Definition at line 159 of file aio_internal.h.

Referenced by AioShmemInit(), pgaio_io_process_completion(), and pgaio_io_wait().

distilled_result

PgAioResult PgAioHandle::distilled_result

Definition at line 162 of file aio_internal.h.

Referenced by AioShmemInit(), pg_get_aios(), pgaio_io_call_complete_local(), pgaio_io_call_complete_shared(), and pgaio_io_reclaim().

flags

uint8 PgAioHandle::flags

Definition at line 114 of file aio_internal.h.

Referenced by AioShmemInit(), pg_get_aios(), pgaio_io_needs_synchronous_execution(), pgaio_io_reclaim(), pgaio_io_set_flag(), pgaio_io_wait(), and pgaio_worker_needs_synchronous_execution().

generation

uint64 PgAioHandle::generation

Definition at line 152 of file aio_internal.h.

Referenced by AioShmemInit(), pg_get_aios(), pgaio_closing_fd(), pgaio_io_get_wref(), pgaio_io_reclaim(), pgaio_io_wait_for_free(), pgaio_io_was_recycled(), and pgaio_shutdown().

handle_data_len

uint8 PgAioHandle::handle_data_len

Definition at line 128 of file aio_internal.h.

Referenced by AioShmemInit(), pg_get_aios(), pgaio_io_get_handle_data(), pgaio_io_reclaim(), pgaio_io_set_handle_data_32(), and pgaio_io_set_handle_data_64().

iovec_off

uint32 PgAioHandle::iovec_off

Definition at line 170 of file aio_internal.h.

Referenced by AioShmemInit(), pg_get_aios(), pgaio_io_get_handle_data(), pgaio_io_get_iovec(), pgaio_io_get_iovec_length(), pgaio_io_perform_synchronously(), pgaio_io_set_handle_data_32(), and pgaio_io_set_handle_data_64().

node

dlist_node PgAioHandle::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 146 of file aio_internal.h.

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

num_callbacks

uint8 PgAioHandle::num_callbacks

Definition at line 116 of file aio_internal.h.

Referenced by AioShmemInit(), pgaio_io_call_complete_local(), pgaio_io_call_complete_shared(), pgaio_io_call_stage(), pgaio_io_reclaim(), and pgaio_io_register_callbacks().

op

uint8 PgAioHandle::op

Definition at line 111 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

PgAioOpData PgAioHandle::op_data

Definition at line 180 of file aio_internal.h.

Referenced by pg_get_aios(), pgaio_io_get_iovec_length(), pgaio_io_get_op_data(), pgaio_io_perform_synchronously(), pgaio_io_start_readv(), pgaio_io_start_writev(), and pgaio_io_uses_fd().

owner_procno

int32 PgAioHandle::owner_procno

Definition at line 131 of file aio_internal.h.

Referenced by AioShmemInit(), pg_get_aios(), pgaio_io_acquire_nb(), pgaio_io_get_owner(), pgaio_io_process_completion(), pgaio_io_reclaim(), pgaio_io_wait(), pgaio_worker_error_callback(), and pgaio_wref_check_done().

report_return

PgAioReturn* PgAioHandle::report_return

Definition at line 177 of file aio_internal.h.

Referenced by AioShmemInit(), pgaio_io_acquire_nb(), pgaio_io_reclaim(), and pgaio_io_release_resowner().

resowner

struct ResourceOwnerData* PgAioHandle::resowner

Definition at line 148 of file aio_internal.h.

Referenced by AioShmemInit(), pgaio_io_reclaim(), pgaio_io_release(), pgaio_io_release_resowner(), and pgaio_io_resowner_register().

resowner_node

dlist_node PgAioHandle::resowner_node

Definition at line 149 of file aio_internal.h.

Referenced by pgaio_io_reclaim(), pgaio_io_release_resowner(), and pgaio_io_resowner_register().

result

int32 PgAioHandle::result

Definition at line 134 of file aio_internal.h.

Referenced by pg_get_aios(), pgaio_io_call_complete_local(), pgaio_io_call_complete_shared(), pgaio_io_perform_synchronously(), pgaio_io_process_completion(), pgaio_io_reclaim(), and pgaio_io_stage().

state

uint8 PgAioHandle::state

Definition at line 105 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

uint8 PgAioHandle::target

Definition at line 108 of file aio_internal.h.

Referenced by pgaio_io_call_complete_local(), pgaio_io_call_complete_shared(), pgaio_io_call_stage(), pgaio_io_can_reopen(), pgaio_io_get_target_description(), pgaio_io_get_target_name(), pgaio_io_has_target(), pgaio_io_reclaim(), pgaio_io_reopen(), and pgaio_io_set_target().

target_data

PgAioTargetData PgAioHandle::target_data

Definition at line 187 of file aio_internal.h.

Referenced by pgaio_io_get_target_data(), pgaio_io_get_target_description(), and pgaio_io_reclaim().


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

AltStyle によって変換されたページ (->オリジナル) /