|
|
Subscribe / Log in / New account

PostgreSQL's fsync() surprise

PostgreSQL's fsync() surprise

Posted Apr 19, 2018 11:12 UTC (Thu) by jlayton (subscriber, #31672)
In reply to: PostgreSQL's fsync() surprise by willy
Parent article: PostgreSQL's fsync() surprise

I'm not sure I agree that it's really worse. Offering different behavior based on whether the inode got evicted from the cache is pretty nasty, as userland has no way to detect whether that has happened.

That said, I'm not opposed to re-enabling the ability to see unreported errors that occurred prior to the open (and your scheme to do that was pretty clever) if the Pg folks think it's of value in the near term. Maybe we could make that behavior opt-in based on a sysctl or something?


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds