Re:PostgreSQL's fsync surprise
by caf on Thursday May 03, 2018 @06:12AM
(#16984628)
That's similar to Willy Tarreau's suggestion and suffers from the same issue - it only works up until that inode gets evicted due to memory pressure.
[ Parent
| on HN ]
Re:PostgreSQL's fsync surprise
by cryptonector on Thursday May 03, 2018 @10:17AM
(#16986236)
PG could keep it open. I know it doesn't, but it could and should.
Also, perhaps the error flag should keep the inode in core. Note that the pages would still get thrown out, so as far as memory pressure this is not the end of the world.