News for hackers. Stuff that matters.
Re:Fsyncgate: Errors on fsync are unrecoverable (2018) by cyphar on Sunday July 21, 2019 @08:42PM (#20494640)
It should be noted that io_uring landed (in 5.1) a fair while after the whole Postgres back-and-forth started in 2018.
Re:Fsyncgate: Errors on fsync are unrecoverable (2018) by masklinn on Monday July 22, 2019 @02:07AM (#20495672)
It should also be noted that even sync_file_range's manpage warns you against using it, which tells you how reliable that thing is.
Re:Fsyncgate: Errors on fsync are unrecoverable (2018) by the8472 on Monday July 22, 2019 @03:59PM (#20501733)
It's not really that you shouldn't use it because it is dangerous in itself. It's just doesn't do what one would naively expect it to do. It's still useful as "flush dirty pages" hinter while preparing the real fsync.