|
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 "utils/guc.h"
Go to the source code of this file.
Definition at line 49 of file aio_init.c.
References AioProcs(), and mul_size().
Referenced by AioShmemInit(), and AioShmemSize().
Definition at line 97 of file aio_init.c.
References fb(), Max, MaxBackends, Min, NBuffers, and NUM_AUXILIARY_PROCS.
Referenced by AioShmemSize().
Definition at line 31 of file aio_init.c.
Referenced by AioShmemInit(), and AioShmemSize().
Definition at line 79 of file aio_init.c.
References AioProcs(), io_max_combine_limit, io_max_concurrency, and mul_size().
Referenced by AioShmemInit(), and AioShmemSize().
Definition at line 70 of file aio_init.c.
References AioProcs(), fb(), io_max_combine_limit, io_max_concurrency, and mul_size().
Referenced by AioShmemInit(), and AioShmemSize().
Definition at line 55 of file aio_init.c.
References AioProcs(), Assert, fb(), io_max_concurrency, and mul_size().
Referenced by AioShmemInit(), and AioShmemSize().
Definition at line 38 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 149 of file aio_init.c.
References AioBackendShmemSize(), AioCtlShmemSize(), AioHandleDataShmemSize(), AioHandleIOVShmemSize(), AioHandleShmemSize(), AioProcs(), PgAioCtl::backend_state, ConditionVariableInit(), dclist_init(), dclist_push_tail(), fb(), PgAioHandle::generation, PgAioCtl::handle_data, i, PgAioCtl::io_handle_count, PgAioBackend::io_handle_off, PgAioCtl::io_handles, io_max_combine_limit, io_max_concurrency, PgAioCtl::iovec_count, PgAioCtl::iovecs, pgaio_ctl, pgaio_method_ops, PGAIO_RS_UNKNOWN, PGAIO_SUBMIT_BATCH_SIZE, IoMethodOps::shmem_init, and ShmemInitStruct().
Referenced by CreateOrAttachShmemStructs().
Definition at line 113 of file aio_init.c.
References add_size(), AioBackendShmemSize(), AioChooseMaxConcurrency(), AioCtlShmemSize(), AioHandleDataShmemSize(), AioHandleIOVShmemSize(), AioHandleShmemSize(), buf, fb(), io_max_concurrency, pgaio_method_ops, PGC_POSTMASTER, PGC_S_DYNAMIC_DEFAULT, PGC_S_OVERRIDE, SetConfigOption(), IoMethodOps::shmem_size, and snprintf.
Referenced by CalculateShmemSize().
Definition at line 218 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().