Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 57a36e8

Browse files
committed
Fix grammar of a comment in bufmgr.c
Author: Junwang Zhao Discussion: https://postgr.es/m/CAEG8a3L5YjxXCjx0LhkwHdDGsNgpFGEqH7SqtXRPNP+dwFMVZQ@mail.gmail.com
1 parent a7800cf commit 57a36e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/backend/storage/buffer/bufmgr.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,11 +1495,11 @@ WaitReadBuffers(ReadBuffersOperation *operation)
14951495
io_buffers_len = 1;
14961496

14971497
/*
1498-
* How many neighboring-on-disk blocks can we can scatter-read into
1499-
* other buffers at the same time? In this case we don't wait if we
1500-
* see an I/O already in progress. We already hold BM_IO_IN_PROGRESS
1501-
* for the head block, so we should get on with that I/O as soon as
1502-
* possible. We'll come back to this block again, above.
1498+
* How many neighboring-on-disk blocks can we scatter-read into other
1499+
* buffers at the same time? In this case we don't wait if we see an
1500+
* I/O already in progress. We already hold BM_IO_IN_PROGRESS for the
1501+
* head block, so we should get on with that I/O as soon as possible.
1502+
* We'll come back to this block again, above.
15031503
*/
15041504
while ((i + 1) < nblocks &&
15051505
WaitReadBuffersCanStartIO(buffers[i + 1], true))

0 commit comments

Comments
 (0)