[Cluster-devel] fallocate vs O_(D)SYNC

Christoph Hellwig hch at infradead.org
Wed Nov 16 08:42:56 UTC 2011


It seems all filesystems but XFS ignore O_SYNC for fallocate, and never
make sure the size update transaction made it to disk.

Given that a fallocate without FALLOC_FL_KEEP_SIZE very much is a data
operation (it adds new blocks that return zeroes) that seems like a
fairly nasty surprise for O_SYNC users.




More information about the Cluster-devel mailing list