Fix grammar of a comment in bufmgr.c
authorMichael Paquier <[email protected]>
Mon, 21 Oct 2024 02:25:29 +0000 (11:25 +0900)
committerMichael Paquier <[email protected]>
Mon, 21 Oct 2024 02:25:29 +0000 (11:25 +0900)
Author: Junwang Zhao
Discussion: https://postgr.es/m/CAEG8a3L5YjxXCjx0LhkwHdDGsNgpFGEqH7SqtXRPNP+dwFMVZQ@mail.gmail.com

src/backend/storage/buffer/bufmgr.c

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