]> git.baikalelectronics.ru Git - kernel.git/commit
nvmf: keep track of nvmet connect error status
authorGuan Junxiong <guanjunxiong@huawei.com>
Tue, 13 Jun 2017 02:51:24 +0000 (10:51 +0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 15 Jun 2017 12:30:27 +0000 (14:30 +0200)
commit96e61fe8e6680bcdbfaad634772b74bfbe3d4f0b
treec4c080d505c5e6927572e63efd1637abdb62f3aa
parent70fa144af979df8ceba2ad611ea0dee1be134251
nvmf: keep track of nvmet connect error status

To let the host know what happends to the connection establishment,
adjust the behavior of nvmf_log_connect_error to make more connect
specifig error codes human-readble.

Signed-off-by: Guan Junxiong <guanjunxiong@huawei.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fabrics.c