]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scsi: fnic: Avoid false out-of-order detection for aborted command
authorSatish Kharat <satishkh@cisco.com>
Wed, 1 Mar 2017 00:15:12 +0000 (16:15 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Mar 2017 13:57:23 +0000 (09:57 -0400)
commitb9202b4ae8171e9eaa21504d5a8c1c2e9d6ecd90
tree49c680ef6ae934c8675f74e917a9f3668e79c175
parent7ef539c88d7d394410d547c9f082d477093a2a22
scsi: fnic: Avoid false out-of-order detection for aborted command

If SCSI-ML has already issued abort on a command i.e
FNIC_IOREQ_ABTS_PENDING is set and we get a IO completion, avoid this
being flagged as out-of-order completion by setting the FNIC_IO_DONE
flag in fnic_fcpio_icmnd_cmpl_handler

Signed-off-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic_scsi.c