Hello everyone.
I'm looking into filesystem functionality to assess database reliablity.
One of the questions I can't find the answer to is this: If a process
does five write() calls, will the writes always hit in the disk in the
original order? If they don't hit the disk in the original order, is this
due to reordering in the kernel, reordering by some types of storage
devices, or both?
I've heard that the BSD filesystem code may reorder writes to minimize
the disk head movement. I've also heard that some SCSI disks will do
this. Can anyone substantiate these tales, or point me to documentation
on this subject? Finally, short of turning on synchronous writes, are
there standard ways of dealing with the problem?
Michael Wolf