Re: [PATCH] 2.5.30 IDE 113

Marcin Dalecki (dalecki@evision.ag)
Tue, 06 Aug 2002 13:57:47 +0200


Uz.ytkownik Jens Axboe napisa?:

> Ho hum, well I think it's only ugly in the way it had to be done
> previously. Right now I think the usage is pretty nice, actually

Ho ho. I can't do it the pretty way, becouse the queue synchronization
doesn't work as expected :-).

> request_fn(q)
> {
> rq = elv_next_request();
> start_request(rq);
> blk_stop_queue(q);
> }
>
> isr()
> {
> handle_completion();
> blk_start_queue(queue);
> }
>
> The API works nicely regardless of queue depth and how many requests
> request_fn consumes.

You know why I *hate* IDE_BUSY bit 8-)..

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