[PATCH 08/23] scsi: introduce a result field in struct scsi_request
Bart Van Assche
Bart.VanAssche at sandisk.com
Thu Apr 20 08:25:12 PDT 2017
On Thu, 2017-04-20 at 16:03 +0200, Christoph Hellwig wrote:
> This passes on the scsi_cmnd result field to users of passthrough
> requests. Currently we abuse req->errors for this purpose, but that
> field will go away in its current form.
>
> Note that the old IDE code abuses the errors field in very creative
> ways and stores all kinds of different values in it. I didn't dare
> to touch this magic, so the abuses are brought forward 1:1.
Reviewed-by: Bart Van Assche <Bart.VanAssche at sandisk.com>
More information about the Linux-nvme
mailing list