[lkml]   [2002]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] 2.5.30 IDE 113
    Uz.ytkownik Petr Vandrovec napisa?:

    > Hi Marcin,
    > what synchronizes these accesses to make sure that you do not have
    > two ide_raw_taskfile requests on the flight, both using same
    > drive->srequest? It looks to me like that nothing, so you can overwrite
    > request's contents while somebody else already uses this buffer.

    I don't think so. The queue lock is synchronizing them.
    And then we usually add them just to the front of the queue in question
    and wait for finishment until the request is done.
    After all ide_raw_taskfile only gets used for REQ_SPECIAL request
    types. This does *not* contain normal data request from block IO.
    As of master slave issues - well we have the data pre allocated per
    device not per channel! If q->request_fn would properly return the
    error count instead of void, we could even get rid ot the
    checking for rq->errors after finishment... But well that's
    entierly different story.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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