Re: [PATCH] qla2xxx: Set NVME status code for failed NVME FCP request

From: Martin K. Petersen
Date: Wed Jun 24 2020 - 00:30:13 EST


On Thu, 4 Jun 2020 12:07:45 +0200, Daniel Wagner wrote:

> The qla2xxx driver knows when request was processed successfully or
> not. But it always sets the NVME status code to 0/NVME_SC_SUCCESS. The
> upper layer needs to figure out from the rcv_rsplen and
> transferred_length variables if the request was successfully. This is
> not always possible, e.g. when the request data length is 0, the
> transferred_length is also set 0 which is interpreted as success in
> nvme_fc_fcpio_done(). Let's inform the upper
> layer (nvme_fc_fcpio_done()) when something went wrong.
>
> [...]

Applied to 5.8/scsi-fixes, thanks!

[1/1] scsi: qla2xxx: Set NVMe status code for failed NVMe FCP request
https://git.kernel.org/mkp/scsi/c/ef2e3ec520a8

--
Martin K. Petersen Oracle Linux Engineering