[PATCH 08/23] scsi: introduce a result field in struct scsi_request
Martin K. Petersen
martin.petersen at oracle.com
Wed Apr 19 18:43:00 PDT 2017
Christoph Hellwig <hch at lst.de> writes:
> 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.
Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>
> 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.
Really wish we could just obliterate drivers/ide.
--
Martin K. Petersen Oracle Linux Engineering
More information about the Linux-nvme
mailing list