summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_mid.c
diff options
context:
space:
mode:
authorChad Dupuis2013-06-25 17:27:19 +0200
committerJames Bottomley2013-07-08 18:19:32 +0200
commit8fbfe2d21445253411c1ff0f69e3129fc11ba57c (patch)
tree2d8f9c0e2f07efef858b17903eef6d13a1d788f4 /drivers/scsi/qla2xxx/qla_mid.c
parent[SCSI] qla2xxx: Move qla2x00_free_device to the correct location. (diff)
downloadkernel-qcow2-linux-8fbfe2d21445253411c1ff0f69e3129fc11ba57c.tar.gz
kernel-qcow2-linux-8fbfe2d21445253411c1ff0f69e3129fc11ba57c.tar.xz
kernel-qcow2-linux-8fbfe2d21445253411c1ff0f69e3129fc11ba57c.zip
[SCSI] qla2xxx: Do not query FC statistics during chip reset.
During a chip reset, the mailbox call to get FC statistics from the ISP will not work resulting in needless mailbox accesses and errors printing out: qla2xxx [0000:05:00.0]-00af:11: Performing ISP error recovery - ha=ffff881fad044800. qla2xxx [0000:05:00.0]-1020:11: **** Failed mbx[0]=4001, mb[1]=4953, mb[2]=5020, mb[3]=b100, cmd=6d ****. qla2xxx [0000:05:00.0]-1020:11: **** Failed mbx[0]=4001, mb[1]=4953, mb[2]=5020, mb[3]=b100, cmd=6d ****. qla2xxx [0000:05:00.0]-1020:11: **** Failed mbx[0]=4001, mb[1]=4953, mb[2]=5020, mb[3]=b100, cmd=6d ****. qla2xxx [0000:05:00.0]-1020:11: **** Failed mbx[0]=4001, mb[1]=4953, mb[2]=5020, mb[3]=b100, cmd=6d ****. qla2xxx [0000:05:00.0]-1020:11: **** Failed mbx[0]=4001, mb[1]=4953, mb[2]=5020, mb[3]=b100, cmd=6d ****. To prevent this, check for a chip reset when an application queries for FC stats and return immediately if a chip reset is occurring. Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mid.c')
0 files changed, 0 insertions, 0 deletions