linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fallocate vs O_(D)SYNC
@ 2011-11-16  8:42 Christoph Hellwig
  2011-11-16  9:43 ` [Cluster-devel] " Steven Whitehouse
  2011-11-16 11:28 ` Zheng Liu
  0 siblings, 2 replies; 15+ messages in thread
From: Christoph Hellwig @ 2011-11-16  8:42 UTC (permalink / raw)
  To: linux-btrfs, linux-ext4, mfasheh, jlbec, cluster-devel

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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-11-18 12:09 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-16  8:42 fallocate vs O_(D)SYNC Christoph Hellwig
2011-11-16  9:43 ` [Cluster-devel] " Steven Whitehouse
2011-11-16 10:54   ` Jan Kara
2011-11-16 11:20     ` Steven Whitehouse
2011-11-16 12:45     ` Christoph Hellwig
2011-11-16 13:39       ` Jan Kara
2011-11-16 13:42         ` Christoph Hellwig
2011-11-16 15:57           ` Jan Kara
2011-11-16 16:16             ` Christoph Hellwig
2011-11-16 16:18             ` Chris Mason
2011-11-16 19:35               ` Mark Fasheh
2011-11-16 20:03                 ` Mark Fasheh
2011-11-17 10:16                   ` Joel Becker
2011-11-18 12:09             ` Steven Whitehouse
2011-11-16 11:28 ` Zheng Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).