diff options
author | Arun Easi | 2021-08-16 22:13:11 -0700 |
---|---|---|
committer | Martin K. Petersen | 2021-08-23 22:36:54 -0400 |
commit | 2cabf10dbbe380e2ef27a69ce2059bcab7c8b419 (patch) | |
tree | ba11e11eeef75cef3144a569a750e0246b68478e /drivers/scsi/imm.c | |
parent | f6e327fc09e48271c103efb3b69fc4ccda3f408b (diff) |
scsi: qla2xxx: Fix hang on NVMe command timeouts
The abort callback gets called only when it gets posted to firmware. The
refcounting is done properly in the callback. On internal errors, the
callback is not invoked leading to a hung I/O. Fix this by having separate
error code when command gets returned from firmware.
Link: https://lore.kernel.org/r/20210817051315.2477-9-njavali@marvell.com
Signed-off-by: Arun Easi <aeasi@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/imm.c')
0 files changed, 0 insertions, 0 deletions