diff options
author | James Smart <jsmart2021@gmail.com> | 2018-06-13 14:07:38 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-06-14 17:01:01 +0200 |
commit | 3e493c00cedb457c0731399a835f7ba1c6df172b (patch) | |
tree | 361f4445613dc57ec439ff0347fcf69a91a664f0 /block | |
parent | 587331f71e2748371526597cafc72e5732c67e88 (diff) | |
download | linux-3e493c00cedb457c0731399a835f7ba1c6df172b.tar.bz2 |
nvme-fc: fix nulling of queue data on reconnect
The reconnect path is calling the init routines to clear a queue
structure. But the queue structure has state that perhaps needs
to persist as long as the controller is live.
Remove the nvme_fc_init_queue() calls on reconnect.
The nvme_fc_free_queue() calls will clear state bits and reset
any relevant queue state for a new connection.
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions