1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: dasd: log sense for fatal errors.
5 Symptom: When a fatal error occures no sense data is printed.
6 Problem: During Hyper PAV work the log sense call was accidentally
8 Solution: Call dasd_log_sense() for fatal errors.
10 Acked-by: John Jolly <jjolly@suse.de>
13 drivers/s390/block/dasd.c | 5 +++++
14 1 file changed, 5 insertions(+)
16 Index: linux-sles11/drivers/s390/block/dasd.c
17 ===================================================================
18 --- linux-sles11.orig/drivers/s390/block/dasd.c
19 +++ linux-sles11/drivers/s390/block/dasd.c
20 @@ -1773,6 +1773,11 @@ restart:
24 + /* log sense for fatal error */
25 + if (cqr->status == DASD_CQR_FAILED) {
26 + dasd_log_sense(cqr, &cqr->irb);
29 /* First of all call extended error reporting. */
30 if (dasd_eer_enabled(base) &&
31 cqr->status == DASD_CQR_FAILED) {