On Fri, Jan 31, 2020 at 10:04 AM David Howells <dhowells@xxxxxxxxxx> wrote: > > hch@xxxxxx <hch@xxxxxx> wrote: > > > > I'm using direct I/O, so I'm assuming I don't need to fsync(). > > > > Direct I/O of course requires fsync. What makes you think different? > > I guess that's fair. Even if the data makes it directly to storage, that's > not a guarantee that the metadata does. > It's not only that. DIO gets data to storage *layer*, but it doesn't tell storage *layer* to make the data durable (usually with FLUSH/FUA). Thanks, Amir.