On Fri, Jul 30, 2010 at 04:56:31PM +0400, Vladislav Bolkhovitin wrote: > For a simpler device (a disk without support for ORDERED queuing) the > same meta-data updates would be: > > 1. 1st journal write command > > 2. 2d journal write command > > 3. 3d journal write command > > 4. The queue draining. Which is complete overkill. We have state machines for everything we do block I/O on (both data and the journal), which allows us to just wait on the I/O requests we need inside the filesystem instead of draining the queue, or enforce global ordering using ordered tags. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html