]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fc: remove err_work work item
authorJames Smart <james.smart@broadcom.com>
Fri, 23 Oct 2020 22:27:50 +0000 (15:27 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Oct 2020 09:01:39 +0000 (10:01 +0100)
commitd73171c75be5653d9543e95f1434df3b6318ca1c
tree206cbb1cd755ed04f462d934d21e2183873975b1
parent0b8efc748c098013bc66737971ecac482003bbf2
nvme-fc: remove err_work work item

err_work was created to handle errors (mainly I/O timeouts) while in
CONNECTING state. The flag for err_work_active is also unneeded.

Remove err_work_active and err_work.  The actions to abort I/Os are moved
inline to nvme_error_recovery().

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