[dm-devel] Re: [PATCH 27/30] blk_end_request: changing scsi (take 4)

James Bottomley James.Bottomley at SteelEye.com
Wed Dec 12 12:55:16 UTC 2007


On Tue, 2007-12-11 at 17:52 -0500, Kiyoshi Ueda wrote:
> This patch converts scsi mid-layer to use blk_end_request interfaces.
> Related 'uptodate' arguments are converted to 'error'.
> 
> As a result, the interface of internal function, scsi_end_request(),
> is changed.

This looks fine, as far as it goes.

One of the things that might actually be useful in future is as well as
communicating the error, the ability to say more information about what
happened.  For instance dm-mp needs to know whether the error is
transport or device related (the former being retryable on a different
path).

James





More information about the dm-devel mailing list