diff options
author | Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com> | 2015-11-03 21:26:06 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2015-11-10 03:29:54 +0300 |
commit | f41f1d994e0e2e0fab29c6f3f9c77350f1769166 (patch) | |
tree | 9e022081db5fa97f60d75bcf3477dc0e158d3d2a /drivers/scsi/sr.c | |
parent | f06fcc7155dcbcd9b697d499595a2c1a3945bda2 (diff) | |
download | linux-f41f1d994e0e2e0fab29c6f3f9c77350f1769166.tar.xz |
ipr: Add delay to ensure coherent dumps.
Add a holding pattern prior to collecting dump data, to wait for the IOA
indication that the Mailbox register is stable and won't change without
an explicit reset. This ensures we'll be collecting meaningful dump
data, even when dumping right after an adapter reset.
In the event of a timeout, we still force the dump, since a partial dump
still might be useful.
Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sr.c')
0 files changed, 0 insertions, 0 deletions