diff options
author | Andres Freund <andres@anarazel.de> | 2025-03-17 18:51:33 -0400 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2025-03-17 18:51:33 -0400 |
commit | 02844012b304ba80d1c48d51f6fe10bb622490cc (patch) | |
tree | c7753eb6c900a00ebdaa2311b87aefbb21d9f588 /src/include/utils/guc_hooks.h | |
parent | 65db3963ae7154b8f01e4d73dc6b1ffd81c70e1e (diff) | |
download | postgresql-02844012b304ba80d1c48d51f6fe10bb622490cc.tar.gz postgresql-02844012b304ba80d1c48d51f6fe10bb622490cc.zip |
aio: Basic subsystem initialization
This commit just does the minimal wiring up of the AIO subsystem, added in the
next commit, to the rest of the system. The next commit contains more details
about motivation and architecture.
This commit is kept separate to make it easier to review, separating the
changes across the tree, from the implementation of the new subsystem.
We discussed squashing this commit with the main commit before merging AIO,
but there has been a mild preference for keeping it separate.
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: Noah Misch <noah@leadboat.com>
Discussion: https://postgr.es/m/uvrtrknj4kdytuboidbhwclo4gxhswwcpgadptsjvjqcluzmah%40brqs62irg4dt
Diffstat (limited to 'src/include/utils/guc_hooks.h')
-rw-r--r-- | src/include/utils/guc_hooks.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/utils/guc_hooks.h b/src/include/utils/guc_hooks.h index 9a0d8ec85c7..a3eba8fbe21 100644 --- a/src/include/utils/guc_hooks.h +++ b/src/include/utils/guc_hooks.h @@ -64,6 +64,8 @@ extern bool check_default_with_oids(bool *newval, void **extra, extern bool check_effective_io_concurrency(int *newval, void **extra, GucSource source); extern bool check_huge_page_size(int *newval, void **extra, GucSource source); +extern void assign_io_method(int newval, void *extra); +extern bool check_io_max_concurrency(int *newval, void **extra, GucSource source); extern const char *show_in_hot_standby(void); extern bool check_locale_messages(char **newval, void **extra, GucSource source); extern void assign_locale_messages(const char *newval, void *extra); |