nvmet: Don't queue fatal error work if csts.cfs is set
authorSagi Grimberg <sagi@grimberg.me>
Sun, 6 Nov 2016 09:03:30 +0000 (11:03 +0200)
committerSagi Grimberg <sagi@grimberg.me>
Mon, 14 Nov 2016 00:08:51 +0000 (02:08 +0200)
commit8242ddac1bfcf6eb8873b4d0a4e7a172c2b5b625
tree05c0b3fae51a96304bee12b75697ad29d723a5a0
parent553cd9ef82edd811948782a8f73ae73c4bfeedd3
nvmet: Don't queue fatal error work if csts.cfs is set

In the transport, in case of an interal queue error like
error completion in rdma we trigger a fatal error. However,
multiple queues in the same controller can serr error completions
and we don't want to trigger fatal error work more than once.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/target/core.c