• Kiyoshi Ueda's avatar
    blk_end_request: changing xsysace (take 4) · a65b5866
    Kiyoshi Ueda authored
    This patch converts xsysace to use blk_end_request interfaces.
    Related 'uptodate' arguments are converted to 'error'.
    
    xsysace is a little bit different from "normal" drivers.
    xsysace driver has a state machine in it.
    It calls end_that_request_first() and end_that_request_last()
    from different states. (ACE_FSM_STATE_REQ_TRANSFER and
    ACE_FSM_STATE_REQ_COMPLETE, respectively.)
    
    However, those states are consecutive and without any interruption
    inbetween.
    So we can just follow the standard conversion rule (b) mentioned in
    the patch subject "[PATCH 01/30] blk_end_request: add new request
    completion interface".
    
    Cc: Grant Likely <grant.likely@secretlab.ca>
    Signed-off-by: default avatarKiyoshi Ueda <k-ueda@ct.jp.nec.com>
    Signed-off-by: default avatarJun'ichi Nomura <j-nomura@ce.jp.nec.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    a65b5866
xsysace.c 33.3 KB