[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <159297296072.9797.7645368338109888920.b4-ty@oracle.com>
Date: Wed, 24 Jun 2020 00:29:38 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: linux-scsi@...r.kernel.org, Daniel Wagner <dwagner@...e.de>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org,
GR-QLogic-Storage-Upstream@...vell.com,
Nilesh Javali <njavali@...vell.com>
Subject: Re: [PATCH] qla2xxx: Set NVME status code for failed NVME FCP request
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
Powered by blists - more mailing lists