diff options
author | Hannes Reinecke | 2016-10-13 15:10:38 +0200 |
---|---|---|
committer | Martin K. Petersen | 2016-11-08 17:29:51 -0500 |
commit | a0452bb45c6bcf523acff635325fee7dd961c6bd (patch) | |
tree | 6a9f0ecec97b6956aaabe23251f42a382c456911 /fs | |
parent | 57d3ec7e468bb6659d9a461294d8747906fb7231 (diff) |
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 'fs')
0 files changed, 0 insertions, 0 deletions