diff options
Diffstat (limited to 'src/backend/storage/buffer/bufmgr.c')
-rw-r--r-- | src/backend/storage/buffer/bufmgr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c index 79ca9d18d07..d04afa5ab9c 100644 --- a/src/backend/storage/buffer/bufmgr.c +++ b/src/backend/storage/buffer/bufmgr.c @@ -160,9 +160,12 @@ int maintenance_io_concurrency = DEFAULT_MAINTENANCE_IO_CONCURRENCY; /* * Limit on how many blocks should be handled in single I/O operations. * StartReadBuffers() callers should respect it, as should other operations - * that call smgr APIs directly. + * that call smgr APIs directly. It is computed as the minimum of underlying + * GUCs io_combine_limit_guc and io_max_combine_limit. */ int io_combine_limit = DEFAULT_IO_COMBINE_LIMIT; +int io_combine_limit_guc = DEFAULT_IO_COMBINE_LIMIT; +int io_max_combine_limit = DEFAULT_IO_COMBINE_LIMIT; /* * GUC variables about triggering kernel writeback for buffers written; OS |