Skip to content

Commit 4327f6c

Browse files
Fix typo in comment.
Introduced in 4d330a6. Author: Masahiko Sawada Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/CAD21AoDg8rTWJkrNJg9UTP89vS8smfib2c55DVqKrCn8zR-GYA@mail.gmail.com
1 parent 0f8cfaf commit 4327f6c

File tree

1 file changed

+2
-2
lines changed
  • src/backend/storage/smgr

1 file changed

+2
-2
lines changed

src/backend/storage/smgr/md.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,12 +564,12 @@ mdzeroextend(SMgrRelation reln, ForkNumber forknum,
564564
Assert(segstartblock + numblocks <= RELSEG_SIZE);
565565

566566
/*
567-
* If available and useful, use posix_fallocate() (via FileAllocate())
567+
* If available and useful, use posix_fallocate() (via FileFallocate())
568568
* to extend the relation. That's often more efficient than using
569569
* write(), as it commonly won't cause the kernel to allocate page
570570
* cache space for the extended pages.
571571
*
572-
* However, we don't use FileAllocate() for small extensions, as it
572+
* However, we don't use FileFallocate() for small extensions, as it
573573
* defeats delayed allocation on some filesystems. Not clear where
574574
* that decision should be made though? For now just use a cutoff of
575575
* 8, anything between 4 and 8 worked OK in some local testing.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy