diff options
author | Sawan Chandak <sawan.chandak@cavium.com> | 2017-08-24 01:05:24 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-25 05:29:33 +0300 |
commit | d61cca60aa79aa5afde29e37e26aff819e5b2f16 (patch) | |
tree | 6cea6861cb31c3a17d72ab19fd067e3ef456bd63 /drivers/leds/leds-da903x.c | |
parent | ce0779c7d72c42b5a625850086b60ec3ddbad17e (diff) | |
download | linux-d61cca60aa79aa5afde29e37e26aff819e5b2f16.tar.xz |
scsi: qla2xxx: Do not call abort handler function during chip reset
If there are IO's running and host reset or chip reset is triggered,
IO's can fail due to rport time out. During chip reset recovery process,
driver notifies the transport layer that remote port no longer exist, by
calling fc_remote_port_delete(). When this function is called, it
actually delays deletion by "blocking" it. It sets the remote port state
to "FC_PORTSTATE_BLOCKED" and sets FC_RPORT_DEVLOSS_PENDING. When
driver tries to abort the command by calling its abort handler function,
abort handler will wait until remote port state is blocked state or wait
for dev_loss_tmo time. Due to this blocking, rport times out and results
in an IO failure. This patch adds a check for any active reset process
before calling abort handler function.
[mkp: typo]
Signed-off-by: Sawan Chandak <sawan.chandak@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/leds/leds-da903x.c')
0 files changed, 0 insertions, 0 deletions