Christoph Hellwig, on 07/30/2010 05:09 PM wrote:
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.
Sure. It was only a naive example to illustrate my points. But the FS is
still waiting for the requests, so "draining" its "local queue"?
Vlad
--
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