summaryrefslogtreecommitdiffstats
path: root/drivers/amba
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-10-13 15:10:38 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-11-08 17:29:51 -0500
commita0452bb45c6bcf523acff635325fee7dd961c6bd (patch)
tree6a9f0ecec97b6956aaabe23251f42a382c456911 /drivers/amba
parent57d3ec7e468bb6659d9a461294d8747906fb7231 (diff)
downloadlinux-stable-a0452bb45c6bcf523acff635325fee7dd961c6bd.tar.gz
linux-stable-a0452bb45c6bcf523acff635325fee7dd961c6bd.tar.bz2
linux-stable-a0452bb45c6bcf523acff635325fee7dd961c6bd.zip
scsi: libfc: spurious I/O error under high load
If a command times out libfc is sending an REC, which also might fail (due to frames being lost or something). If no data has been transferred we can simply retry the command, but the current code sets a state of FC_ERROR, which then is being translated into DID_ERROR, resulting in an I/O error. So to handle this properly we need to set a separate state FC_TRANS_RESET and mapping it onto DID_SOFT_RETRY. Signed-off-by: Hannes Reinecke <hare@suse.de> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions