PostgreSQL Source Code
git master
Loading...
Searching...
No Matches
aio_subsys.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* aio_subsys.h
4
* Interaction with AIO as a subsystem, rather than actually issuing AIO
5
*
6
* This header is for AIO related functionality that's being called by files
7
* that don't perform AIO, but interact with the AIO subsystem in some
8
* form. E.g. postmaster.c and shared memory initialization need to initialize
9
* AIO but don't perform AIO.
10
*
11
* Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
12
* Portions Copyright (c) 1994, Regents of the University of California
13
*
14
* src/include/storage/aio_subsys.h
15
*
16
*-------------------------------------------------------------------------
17
*/
18
#ifndef AIO_SUBSYS_H
19
#define AIO_SUBSYS_H
20
21
22
/* aio_init.c */
23
extern
void
pgaio_init_backend
(
void
);
24
25
26
/* aio.c */
27
extern
void
pgaio_error_cleanup
(
void
);
28
extern
void
AtEOXact_Aio
(
bool
is_commit
);
29
30
31
/* method_worker.c */
32
extern
bool
pgaio_workers_enabled
(
void
);
33
34
#endif
/* AIO_SUBSYS_H */
pgaio_init_backend
void pgaio_init_backend(void)
Definition
aio_init.c:238
pgaio_workers_enabled
bool pgaio_workers_enabled(void)
Definition
method_worker.c:1028
pgaio_error_cleanup
void pgaio_error_cleanup(void)
Definition
aio.c:1175
AtEOXact_Aio
void AtEOXact_Aio(bool is_commit)
Definition
aio.c:1203
fb
static int fb(int x)
Definition
preproc-init.c:92
src
include
storage
aio_subsys.h
Generated on Thu Apr 9 2026 19:13:16 for PostgreSQL Source Code by
1.9.8