On Sun, Jan 19, 2025 at 10:31 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> read_stream.c doesn't do that
> sort of multiplication itself,
Actually for completeness there is a place where it allocates local
memory for max I/Os * 4, and that 4 is a not entirely unbogus and
should change to io_combine_limit for the AIO stuff. Patches in
progress, more soon. But that'd not be using MAX_IO_COMBINE_LIMIT or
the number of system-wide I/O, it'd be your (usually much smaller)
configured limits. But I'll write about that with more details in a
new thread...