lkml.org 
[lkml]   [2002]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] 2.5.30 IDE 113
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:27    [W:0.023 / U:29.952 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site