POSIX v. reality: A position on O_PONIES
POSIX v. reality: A position on O_PONIES
Posted Sep 17, 2009 16:41 UTC (Thu) by dlang (guest, #313)In reply to: POSIX v. reality: A position on O_PONIES by forthy
Parent article: POSIX v. reality: A position on O_PONIES
the problem with your approach is that various pieces (including the hard drive itself) will re-order anything in it's buffer to shorten the total time it takes to get everything in the buffer to disk.
that is why barriers are needed to tell the device not to reorder across the buffer.