diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2011-02-25 14:04:27 -0600 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-28 11:17:44 -0600 |
commit | f55ca84d92d0c249ce4f4b8d493657a59c359c5d (patch) | |
tree | 40bec986cc1f783efbb932c014ea146655b206a0 /drivers/scsi/lpfc/lpfc_version.h | |
parent | 76f0c37a26b48522a1f4051a7b8d091fc3e545d5 (diff) |
[SCSI] lpfc: force retry in queuecommand when port is transitioning
If the port takes a while to transition we could exhaust
the retries when using DID_TRANSPORT_DISRUPTED. For this
case we do not want to use any of the cmd's
retries, because if the command was running then when
it got failed the retry counter was already incremented.
And if this is the first time we are seeing the command,
(it got queued because it slipped through during the race)
then it should not have its retries incremented. The
fc class will decide the correct handling later.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_version.h')
0 files changed, 0 insertions, 0 deletions