On Wed, Sep 14, 2005 at 10:00:39PM +0200, Blaisorblade wrote:
> Assuming it can be done, it'd be ok.
> 
> However, why have we already dequeued the request?

It is easier than removing segments from the request and finally
dequeueing the request when it is finally empty.

> Looking for examples, via grep blkdev_dequeue_request drivers/ide/*.c and 
> going opening drivers/ide/ide-io.c, I found blkdev_dequeue_request() called 
> *after* end_that_request_first(), while there it's called before.
> 
> A comment in blk_start_pre_flush() says there's some freedom, but probably 
> leaving the request in the queue would be ok....

There is a good amount of freedom.  The driver is given a set of
requests, and has the job of making them happen.

                                Jeff


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to