Content-Length: 258191 | pFad | http://github.com/postgrespro/postgres_cluster/commit/8d4046d562eea1aba29080b3e5e804798405640a

FE cfs: wider writeback on gc · postgrespro/postgres_cluster@8d4046d · GitHub
Skip to content

Commit 8d4046d

Browse files
author
Sokolov Yura
committed
cfs: wider writeback on gc
1 parent 9bf3d8b commit 8d4046d

File tree

1 file changed

+1
-1
lines changed
  • src/backend/storage/file

1 file changed

+1
-1
lines changed

src/backend/storage/file/cfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ static bool cfs_gc_file(char* map_path, GC_CALL_KIND background)
923923

924924
/* xfs doesn't like if writeback performed closer than 128k to
925925
* file end */
926-
if (writeback + 2*128*1024 < newSize)
926+
if (writeback + 16*1024*1024 < newSize)
927927
{
928928
uint32 newwb = (newSize - 128*1024) & ~(128*1024-1);
929929
pg_flush_data(fd2, writeback, newwb - writeback);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/8d4046d562eea1aba29080b3e5e804798405640a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy