]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.31/patches.arch/s390-04-04-dasd_fatal_error_log_sense.patch
Merge branch 'master' into next
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.arch / s390-04-04-dasd_fatal_error_log_sense.patch
CommitLineData
2cb7cef9
BS
1From: Gerald Schaefer <geraldsc@de.ibm.com>
2Subject: dasd: log sense for fatal errors.
3References: bnc#445100
4
5Symptom: When a fatal error occures no sense data is printed.
6Problem: During Hyper PAV work the log sense call was accidentally
7 removed.
8Solution: Call dasd_log_sense() for fatal errors.
9
10Acked-by: John Jolly <jjolly@suse.de>
11
12---
13 drivers/s390/block/dasd.c | 5 +++++
14 1 file changed, 5 insertions(+)
15
16Index: 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:
21 goto restart;
22 }
23
24+ /* log sense for fatal error */
25+ if (cqr->status == DASD_CQR_FAILED) {
26+ dasd_log_sense(cqr, &cqr->irb);
27+ }
28+
29 /* First of all call extended error reporting. */
30 if (dasd_eer_enabled(base) &&
31 cqr->status == DASD_CQR_FAILED) {