[PATCH] nvme-fabrics: keep track of nvmet connect error status
Christoph Hellwig
hch at infradead.org
Fri Apr 28 07:30:07 PDT 2017
On Fri, Apr 28, 2017 at 01:15:30PM +0800, Guan Junxiong wrote:
> nvmf target shall return NVME_SC_CONNECT_INVALID_HOST instead of
> the general code INVALID_PARAM. Also, to let the host know what
> happends to the connection establishment, adjust the behavior of
> nvmf_log_connect_error to make more connect specific error codes
> human-readble.
> ---
> drivers/nvme/host/fabrics.c | 18 ++++++++++++++++++
> drivers/nvme/target/core.c | 1 +
Please split this into a host and a target side patch.
More information about the Linux-nvme
mailing list