diff options
author | Chad Dupuis <chad.dupuis@qlogic.com> | 2013-06-25 11:27:19 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-07-08 17:19:32 +0100 |
commit | 8fbfe2d21445253411c1ff0f69e3129fc11ba57c (patch) | |
tree | 2d8f9c0e2f07efef858b17903eef6d13a1d788f4 /fs/logfs | |
parent | 3491255e12c5cd5310d855fe276f7971737a1c10 (diff) | |
download | linux-stable-8fbfe2d21445253411c1ff0f69e3129fc11ba57c.tar.gz linux-stable-8fbfe2d21445253411c1ff0f69e3129fc11ba57c.tar.bz2 linux-stable-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 'fs/logfs')
0 files changed, 0 insertions, 0 deletions