On Tue, Nov 28, 2000 at 10:50:06AM +1100, Neil Brown wrote:
> However, there is only one "unplug-all-devices"(*) call in the API
> that a reader or write can make. It is not possible to unplug a
> particular device, or better still, to unplug a particular request.
This isn't totally true. When we run out of requests on a certain
device and we must startup the I/O to release some of them, we unplug
only the _single_ device and we don't unplug-all-devices anymore.
So during writes to disk (without using O_SYNC that isn't supported
by 2.4.0-test11 anyways :) you never unplug-all-devices, but you only
unplug finegrined at the harddisk level.
That isn't true for reads of course, for reads it's the highlevel FS/VM layer
that unplugs the queue and it only knows about the run_task_queue(&tq_disk) but
Jens has patches to fix it too :).
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]