|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "storage/aio.h"#include "storage/aio_internal.h"#include "storage/smgr.h"
Go to the source code of this file.
Variables | |
| static const PgAioTargetInfo * | pgaio_target_info [] |
| bool pgaio_io_can_reopen | ( | PgAioHandle * | ioh | ) |
Definition at line 103 of file aio_target.c.
References Assert, fb(), pgaio_target_info, PGAIO_TID_COUNT, PGAIO_TID_INVALID, and PgAioTargetInfo::reopen.
Referenced by pgaio_worker_needs_synchronous_execution().
| PgAioTargetData * pgaio_io_get_target_data | ( | PgAioHandle * | ioh | ) |
Definition at line 73 of file aio_target.c.
References fb().
Referenced by buffer_readv_complete(), md_readv_complete(), pgaio_io_set_target_smgr(), shared_buffer_readv_complete_local(), and smgr_aio_reopen().
| char * pgaio_io_get_target_description | ( | PgAioHandle * | ioh | ) |
Definition at line 84 of file aio_target.c.
References Assert, PgAioTargetInfo::describe_identity, fb(), pgaio_target_info, PGAIO_TID_COUNT, and PGAIO_TID_INVALID.
Referenced by pg_get_aios().
| const char * pgaio_io_get_target_name | ( | PgAioHandle * | ioh | ) |
Definition at line 50 of file aio_target.c.
References Assert, fb(), PgAioTargetInfo::name, pgaio_target_info, PGAIO_TID_COUNT, and PGAIO_TID_INVALID.
Referenced by pg_get_aios().
| bool pgaio_io_has_target | ( | PgAioHandle * | ioh | ) |
Definition at line 40 of file aio_target.c.
References fb(), and PGAIO_TID_INVALID.
Referenced by pgaio_io_before_start(), and pgaio_io_stage().
| void pgaio_io_reopen | ( | PgAioHandle * | ioh | ) |
Definition at line 116 of file aio_target.c.
References Assert, fb(), PGAIO_OP_COUNT, PGAIO_OP_INVALID, pgaio_target_info, PGAIO_TID_COUNT, PGAIO_TID_INVALID, and PgAioTargetInfo::reopen.
Referenced by IoWorkerMain().
| void pgaio_io_set_target | ( | PgAioHandle * | ioh, |
| PgAioTargetID | targetid | ||
| ) |
Definition at line 64 of file aio_target.c.
References Assert, fb(), PGAIO_HS_HANDED_OUT, and PGAIO_TID_INVALID.
Referenced by pgaio_io_set_target_smgr().
|
static |
Definition at line 25 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().