Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4327f6c

Browse files
Fix typo in comment.
Introduced in4d330a6.Author: Masahiko SawadaReviewed-by: Michael PaquierDiscussion:https://postgr.es/m/CAD21AoDg8rTWJkrNJg9UTP89vS8smfib2c55DVqKrCn8zR-GYA@mail.gmail.com
1 parent0f8cfaf commit4327f6c

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() (viaFileAllocate())
567+
* If available and useful, use posix_fallocate() (viaFileFallocate())
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 useFileAllocate() for small extensions, as it
572+
* However, we don't useFileFallocate() 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)

[8]ページ先頭

©2009-2025 Movatter.jp