]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fnic: Fix to cleanup aborted IO to avoid device being offlined by mid-layer
authorJason Luo <zhangqing.luo@oracle.com>
Thu, 17 Mar 2016 02:59:23 +0000 (10:59 +0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 21 Mar 2016 16:00:48 +0000 (09:00 -0700)
commit9de8d609595a49dfc054b8764374e9c24512f667
treeb896b8a0f136dd17f7488714e52bf7773d2f35da
parentd9cdf613d15767ad3107670bde64542cbc01e92c
fnic: Fix to cleanup aborted IO to avoid device being offlined by mid-layer

From: Satish Kharat <satishkh@cisco.com>

If an I/O times out and an abort issued by host, if the abort is
successful we need to set scsi status as DID_ABORT. Or else the
mid-layer error handler which looks for this error code, will
offline the device. Also if the original I/O is not found in fnic
firmware, we will consider the abort as successful.
Fnic driver version changed from 1.6.0.17a to 1.6.0.19,
version 1.6.0.18 has been skipped

Signed-off-by: Satish Kharat <satishkh@cisco.com>
Orabug: 22918200
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_scsi.c