Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e17ac9

Browse files
committed
Remove obsolete comment.
Commit 755a4c1 prevented StartReadBuffers() from crossing md.c segment boundaries in one operation, but a comment about that possibility remained.
1 parent 432c30d commit 9e17ac9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/backend/storage/buffer/bufmgr.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,10 +1330,7 @@ StartReadBuffersImpl(ReadBuffersOperation *operation,
13301330
* StartReadBuffers() were made for the same blocks before
13311331
* WaitReadBuffers(), only the first would issue the advice. That'd be
13321332
* a better simulation of true asynchronous I/O, which would only
1333-
* start the I/O once, but isn't done here for simplicity. Note also
1334-
* that the following call might actually issue two advice calls if we
1335-
* cross a segment boundary; in a true asynchronous version we might
1336-
* choose to process only one real I/O at a time in that case.
1333+
* start the I/O once, but isn't done here for simplicity.
13371334
*/
13381335
smgrprefetch(operation->smgr,
13391336
operation->forknum,

0 commit comments

Comments
 (0)