• Tejun Heo's avatar
    ps3disk: dequeue in-flight request · 10e1e629
    Tejun Heo authored
    Other than in issue error paths, ps3disk always completely finishes
    fetched requests.  With full completion on error paths, it can be
    easily converted to dequeueing model.
    
    * After L1 r/w call failure, ps3disk_submit_request_sg() now fails the
      whole request.  Issue failure isn't likely to benefit from partial
      retry anyway and ps3disk uses full failure in completion error path
      too, so I don't think this amounts to any meaningful functionality
      loss.
    
    * flush completion is converted to _all for consistency.  It doesn't
      make any functional difference.
    
    [ Impact: dequeue in-flight request ]
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    10e1e629
ps3disk.c 14.3 KB