]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nvme_fc: Support ctrl_loss_tmo
authorJames Smart <jsmart2021@gmail.com>
Tue, 16 May 2017 00:10:16 +0000 (17:10 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 22 May 2017 18:55:29 +0000 (20:55 +0200)
commit5bbecdbc8e7ffaaf47ac1f02014bf3bedda3fd11
tree25db7d8e340e52ff0af524b3cd59c1066ee183af
parent0ce872bf8b5c4d425a41940a523ff1b8daa0b275
nvme_fc: Support ctrl_loss_tmo

Sync with Sagi's recent addition of ctrl_loss_tmo in the core fabrics
layer.

Remove local connect limits and connect_attempts variable.
Use fabrics new nr_connects variable and use of nvmf_should_reconnect()
Refactor duplicate reconnect failure code.

Addresses review comment by Sagi on controller reset support:
http://lists.infradead.org/pipermail/linux-nvme/2017-April/009261.html

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c