News for hackers. Stuff that matters.
Re:Why buffered writes are sometimes stalled by TheLoneWolfling on Monday December 15, 2014 @11:51AM (#8752895)
If you don't lock, you can get a situation where the file on disk is in an inconsistent state until all writes have completed (for example, half of the second write applied but the other half not, etc)

As far as I know, at least. If (when) I'm wrong, please correct me.

Re:Why buffered writes are sometimes stalled by MrBuddyCasino on Monday December 15, 2014 @05:17PM (#8754800)
Yes, isn 't that a situation that a journaled FS should prevent? So for e.g. XFS it should be redundant.