News for hackers. Stuff that matters.
Re:Working with Files Is Hard (2019) by ryao on Saturday January 25, 2025 @02:37AM (#42820175)
Re:Working with Files Is Hard (2019) by kragen on Saturday January 25, 2025 @10:15AM (#42822081)
That flushes, just like the fsync() system call mentioned in Luu's post.
Re:Working with Files Is Hard (2019) by ryao on Saturday January 25, 2025 @11:09AM (#42822441)
It actually writes dirty data and then flushes.

That said, IO barriers in storage are typically synonymous with flushes. For example, the ext4 nobarrier mount option disables flushes.