On 09/29/2015 03:47 AM, Hannes Reinecke wrote:
> + blk_execute_rq(rq->q, NULL, rq, 1);
> + if (rq->errors)
> + err = rq->errors;
Not all code in the block layer uses the SCSI error codes. Do we need
code to convert negative error codes into a SCSI error code here ? An
example:
void blk_mq_abort_requeue_list(struct request_queue *q)
{
[ ... ]
rq->errors = -EIO;
[ ... ]
}
EXPORT_SYMBOL(blk_mq_abort_requeue_list);
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html