|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "miscadmin.h"#include "storage/aio.h"#include "storage/aio_internal.h"#include "storage/aio_subsys.h"#include "storage/bufmgr.h"#include "storage/io_worker.h"#include "storage/ipc.h"#include "storage/proc.h"#include "storage/shmem.h"#include "storage/subsystems.h"#include "utils/guc.h"
Go to the source code of this file.
Definition at line 57 of file aio_init.c.
References AioProcs(), and mul_size().
Referenced by AioShmemRequest().
Definition at line 105 of file aio_init.c.
References fb(), Max, MaxBackends, Min, NBuffers, and NUM_AUXILIARY_PROCS.
Referenced by AioShmemRequest().
Definition at line 87 of file aio_init.c.
References AioProcs(), io_max_combine_limit, io_max_concurrency, and mul_size().
Referenced by AioShmemRequest().
Definition at line 78 of file aio_init.c.
References AioProcs(), fb(), io_max_combine_limit, io_max_concurrency, and mul_size().
Referenced by AioShmemRequest().
Definition at line 63 of file aio_init.c.
References AioProcs(), Assert, fb(), io_max_concurrency, and mul_size().
Referenced by AioShmemRequest().
Definition at line 46 of file aio_init.c.
References MaxBackends, and NUM_AUXILIARY_PROCS.
Referenced by AioBackendShmemSize(), AioHandleDataShmemSize(), AioHandleIOVShmemSize(), AioHandleShmemSize(), AioShmemInit(), and pgaio_init_backend().
Definition at line 231 of file aio_init.c.
References ShmemCallbacks::attach_fn, ShmemCallbacks::opaque_arg, pgaio_method_ops, and IoMethodOps::shmem_callbacks.
Definition at line 179 of file aio_init.c.
References AioBackendShmemPtr, AioHandleDataShmemPtr, AioHandleIOVShmemPtr, AioHandleShmemPtr, AioProcs(), PgAioCtl::backend_state, ConditionVariableInit(), dclist_init(), dclist_push_tail(), fb(), PgAioHandle::generation, PgAioCtl::handle_data, i, ShmemCallbacks::init_fn, PgAioCtl::io_handle_count, PgAioBackend::io_handle_off, PgAioCtl::io_handles, io_max_combine_limit, io_max_concurrency, PgAioCtl::iovec_count, PgAioCtl::iovecs, ShmemCallbacks::opaque_arg, pgaio_ctl, pgaio_method_ops, PGAIO_RS_UNKNOWN, PGAIO_SUBMIT_BATCH_SIZE, and IoMethodOps::shmem_callbacks.
Definition at line 124 of file aio_init.c.
References AioBackendShmemPtr, AioBackendShmemSize(), AioChooseMaxConcurrency(), AioHandleDataShmemPtr, AioHandleDataShmemSize(), AioHandleIOVShmemPtr, AioHandleIOVShmemSize(), AioHandleShmemPtr, AioHandleShmemSize(), buf, io_max_concurrency, name, ShmemCallbacks::opaque_arg, pgaio_ctl, pgaio_method_ops, PGC_POSTMASTER, PGC_S_DYNAMIC_DEFAULT, PGC_S_OVERRIDE, ShmemCallbacks::request_fn, SetConfigOption(), IoMethodOps::shmem_callbacks, ShmemRequestStruct, and snprintf.
Definition at line 238 of file aio_init.c.
References AioProcs(), Assert, B_IO_WORKER, PgAioCtl::backend_state, before_shmem_exit(), elog, ERROR, fb(), IoMethodOps::init_backend, MyBackendType, MyProc, MyProcNumber, pgaio_ctl, pgaio_method_ops, pgaio_my_backend, and pgaio_shutdown().
Referenced by BaseInit().
|
static |
Definition at line 40 of file aio_init.c.
Referenced by AioShmemInit(), and AioShmemRequest().
|
static |
Definition at line 43 of file aio_init.c.
Referenced by AioShmemInit(), and AioShmemRequest().
|
static |
Definition at line 42 of file aio_init.c.
Referenced by AioShmemInit(), and AioShmemRequest().
|
static |
Definition at line 41 of file aio_init.c.
Referenced by AioShmemInit(), and AioShmemRequest().
| const ShmemCallbacks AioShmemCallbacks |
Definition at line 34 of file aio_init.c.