Re: [PATCH] bsg: Add support for submitting requests at tail of queue

FUJITA Tomonori
2009-01-21T23:24:38Z

On Wed, 21 Jan 2009 11:52:39 +0200
Boaz Harrosh <bharrosh@panasas.com> wrote:

>
> Currently inherited from sg.c bsg will submit asynchronous request
> at the head-of-the-queue, (using "at_head" set in the call to
> blk_execute_rq_nowait()). This is bad in situation where we want
> to keep the queues full but need the requests to execute in order.

As I wrote, I think that blk_execute_rq_nowait inserts a request and
plugs a queue. So how can you keep the queue full? On the completion
of blk_execute_rq_nowait, the queue is empty.