Re: requests questios

From: Andrea Arcangeli (andrea@suse.de)
Date: Sat Apr 15 2000 - 11:11:03 EST


On Sat, 15 Apr 2000, Jens Axboe wrote:

>On Sat, Apr 15 2000, Alejandro Conty 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.

Andrea

-
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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:26 EST