aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/guc_hooks.h
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2025-03-30 19:14:55 -0400
committerAndres Freund <andres@anarazel.de>2025-03-30 19:16:47 -0400
commit2a5e709e721cf5f890cde51755b84cfe25d1c4d9 (patch)
treee48d7981c9ea2c20b9da99e5f78c7173875f7c68 /src/include/utils/guc_hooks.h
parentae3df4b34155d4a3811762e78d5076e64df66fba (diff)
downloadpostgresql-2a5e709e721cf5f890cde51755b84cfe25d1c4d9.tar.gz
postgresql-2a5e709e721cf5f890cde51755b84cfe25d1c4d9.zip
Enable IO concurrency on all systems
Previously effective_io_concurrency and maintenance_io_concurrency could not be set above 0 on machines without fadvise support. AIO enables IO concurrency without such support, via io_method=worker. Currently only subsystems using the read stream API will take advantage of this. Other users of maintenance_io_concurrency (like recovery prefetching) which leverage OS advice directly will not benefit from this change. In those cases, maintenance_io_concurrency will have no effect on I/O behavior. Author: Melanie Plageman <melanieplageman@gmail.com> Reviewed-by: Noah Misch <noah@leadboat.com> Discussion: https://postgr.es/m/CAAKRu_atGgZePo=_g6T3cNtfMf0QxpvoUh5OUqa_cnPdhLd=gw@mail.gmail.com
Diffstat (limited to 'src/include/utils/guc_hooks.h')
-rw-r--r--src/include/utils/guc_hooks.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/utils/guc_hooks.h b/src/include/utils/guc_hooks.h
index 0f1e74f96c9..799fa7ace68 100644
--- a/src/include/utils/guc_hooks.h
+++ b/src/include/utils/guc_hooks.h
@@ -61,8 +61,6 @@ extern bool check_default_text_search_config(char **newval, void **extra, GucSou
extern void assign_default_text_search_config(const char *newval, void *extra);
extern bool check_default_with_oids(bool *newval, void **extra,
GucSource source);
-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);
@@ -83,8 +81,6 @@ extern bool check_log_stats(bool *newval, void **extra, GucSource source);
extern bool check_log_timezone(char **newval, void **extra, GucSource source);
extern void assign_log_timezone(const char *newval, void *extra);
extern const char *show_log_timezone(void);
-extern bool check_maintenance_io_concurrency(int *newval, void **extra,
- GucSource source);
extern void assign_maintenance_io_concurrency(int newval, void *extra);
extern void assign_io_max_combine_limit(int newval, void *extra);
extern void assign_io_combine_limit(int newval, void *extra);