Re: [PATCH] 2.5.30 IDE 113

Marcin Dalecki
2002-08-06T11:59:10Z

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-)..