]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nvme: allow duplicate controller if prior controller being deleted
authorJames Smart <jsmart2021@gmail.com>
Fri, 25 May 2018 21:02:23 +0000 (14:02 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 30 May 2018 06:03:23 +0000 (08:03 +0200)
commitab4f47a9f4a12603a1806230d44ead2e54158f85
tree83ed5fc851782bfd59ccdff8c310aaedb1a7f2ad
parent5de815a7eedfacf593817ef34634eaa9b75a1482
nvme: allow duplicate controller if prior controller being deleted

The current checks for whether a new controller request "matches" an
existing controller ignores controller state and checks identity strings.
There are cases where an existing controller may be in its last steps of
deletion when they are "matched" by a new connection.

Change the behavior so that the new connection ignores controllers that
are deleted.

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fabrics.h