Re: [PATCH] first cut at fixing unable to requeue with no outstanding commands

Patrick Mansfield
2002-10-01T15:01:15Z

On Mon, Sep 30, 2002 at 08:38:49PM -0400, James Bottomley wrote:
> andmike@us.ibm.com said:
> > Are we guaranteed that blk_run_queues will be called for all types of
> > I/O?
>
> Pretty much, it looks like. It's mainly triggered by I/O stuff in fs,
> including the buffer functions, so I think the assumption that we will be
> called eventually is good.
>
> James

What about applications and devices that only send one IO at a time?
They could still hang.

We have: tape (st or osst), sg usage, partitioning, scanning, direct
use of the block device (i.e. dd if=/dev/sda), and probably others.

-- Patrick Mansfield