Fix grammar of a comment in bufmgr.c

Author: Junwang Zhao
Discussion: https://postgr.es/m/CAEG8a3L5YjxXCjx0LhkwHdDGsNgpFGEqH7SqtXRPNP+dwFMVZQ@mail.gmail.com
This commit is contained in:
Michael Paquier 2024-10-21 11:25:29 +09:00
parent a7800cf498
commit 57a36e890d

View File

@ -1495,11 +1495,11 @@ WaitReadBuffers(ReadBuffersOperation *operation)
io_buffers_len = 1; io_buffers_len = 1;
/* /*
* How many neighboring-on-disk blocks can we can scatter-read into * How many neighboring-on-disk blocks can we scatter-read into other
* other buffers at the same time? In this case we don't wait if we * buffers at the same time? In this case we don't wait if we see an
* see an I/O already in progress. We already hold BM_IO_IN_PROGRESS * I/O already in progress. We already hold BM_IO_IN_PROGRESS for the
* for the head block, so we should get on with that I/O as soon as * head block, so we should get on with that I/O as soon as possible.
* possible. We'll come back to this block again, above. * We'll come back to this block again, above.
*/ */
while ((i + 1) < nblocks && while ((i + 1) < nblocks &&
WaitReadBuffersCanStartIO(buffers[i + 1], true)) WaitReadBuffersCanStartIO(buffers[i + 1], true))