News for hackers. Stuff that matters.
Re:Why buffered writes are sometimes stalled by userbinator on Sunday December 14, 2014 @11:11PM (#8750638)
mmap() has no way of knowing how much you'll write to the file, where, in what order, or even whether you may read before doing any writing, so it still has to read the blocks into memory first. A block-aligned write() or pwrite(), however, doesn't require any reading.

There are no comments on this comment yet.