From: james.smart@broadcom.com (James Smart) Date: Mon, 24 Sep 2018 11:01:28 -0700 Subject: [PATCH] nvme: call nvme_complete_rq on NVME_MPATH failures In-Reply-To: <2b1f30b5-a07c-6e67-9d87-abb797747410@suse.de> References: <20180921184920.12902-1-jsmart2021@gmail.com> <2b1f30b5-a07c-6e67-9d87-abb797747410@suse.de> Message-ID: On 9/24/2018 2:32 AM, Hannes Reinecke wrote: > >> +??? nvmerq->status = NVME_SC_ABORT_REQ; >> > Shouldn't we use '0x371' (as per TP 4028) for this? > Description said 'Command Aborted By host: The command was aborted as > a result of host action (e.g., the host disconnected the Fabric > connection).' which seem to be a pretty good match ... Possibly - but...? If it was the transport that did a real io abort, it would make sense. But in this case, the io never even got started, so why mark it aborted ?? If it really was aborted, then doing a ctlr reset and incrementing retry counters may make sense. But if just bounced due to not being able to talk to the controller right now - those things should happen. So I still think we need a different value specific for the linux stack. -- james