Re: requests questios

Jens Axboe (axboe@suse.de)
Sat, 15 Apr 2000 18:18:50 +0200


On Sat, Apr 15 2000, Andrea Arcangeli wrote:
> >> Has the driver to do something new with it or the classical end_request
> >> will be enought?
> >
> >You can still get by with INIT_REQUEST and CURRENT, and end them with
> >end_request just like you used to. It is transparent for simple
> >block drivers.
>
> Only thing changed is that CURRENT will be always != 0. To check if the
> queue is empty and if CURRENT is pointing to a valid request you have now
> to use QUEUE_EMPTY.

... which INIT_REQUEST does for you.

-- 
*  Jens Axboe <axboe@suse.de>
*  Linux CD/DVD-ROM, SuSE Labs
*  http://kernel.dk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/