]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fnic: Avoid false out-of-order detection for aborted command
authorSatish Kharat <satishkh@cisco.com>
Tue, 7 Mar 2017 19:32:03 +0000 (11:32 -0800)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Thu, 18 May 2017 18:04:44 +0000 (11:04 -0700)
commit0f682d3551d90c5aaf4025f8be898a1af32eaa65
treef4ecefdeedee5c764b01ac521e81d6e9c7574805
parent2d20d4df115ff6900bf239be8ccbd908eb1ecf55
fnic: Avoid false out-of-order detection for aborted command

Orabug: 25638880

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: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/fnic/fnic_scsi.c