• James Bottomley's avatar
    [SCSI] use scatter lists for all block pc requests and simplify hw handlers · e537a36d
    James Bottomley authored
    
    
    Here's the proof of concept for this one.  It converts scsi_wait_req to
    do correct REQ_BLOCK_PC submission (and works nicely in my setup).
    
    The final goal should be to eliminate struct scsi_request, but that
    can't be done until the character submission paths of sg and st are also
    modified.
    
    There's some loss of functionality to this: retries are no longer
    controllable (except by setting REQ_FASTFAIL) and the wait_req API needs
    to be altered, but it looks very nice.
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    e537a36d
scsi_lib.c 53.3 KB