cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] fallocate vs O_(D)SYNC
@ 2011-11-16  8:42 Christoph Hellwig
  2011-11-16  9:43 ` Steven Whitehouse
  0 siblings, 1 reply; 11+ messages in thread
From: Christoph Hellwig @ 2011-11-16  8:42 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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] 11+ messages in thread

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-16  8:42 [Cluster-devel] fallocate vs O_(D)SYNC Christoph Hellwig
2011-11-16  9:43 ` 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
     [not found]             ` <20111116161806.GP29279@shiny>
     [not found]               ` <20111116193540.GL23779@wotan.suse.de>
     [not found]                 ` <20111116200310.GN23779@wotan.suse.de>
2011-11-17 10:16                   ` Joel Becker
2011-11-18 12:09             ` Steven Whitehouse

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).