summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStefan Haberland <stefan.haberland@de.ibm.com>2008-11-14 18:18:08 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-11-14 18:18:54 +0100
commita9cffb227d59db526286cc9f84bf258e68a97470 (patch)
tree673875fd52bd99b28e058f2d818cffdf7b130499 /drivers
parent[S390] cpu topology: fix locking (diff)
downloadlinux-a9cffb227d59db526286cc9f84bf258e68a97470.tar.xz
linux-a9cffb227d59db526286cc9f84bf258e68a97470.zip
[S390] dasd: log sense for fatal errors
The logging of sense data for fatal errors was accidentally removed during Hyper PAV implementation. Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s390/block/dasd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c
index 4b76fca64a6f..363bd1303d21 100644
--- a/drivers/s390/block/dasd.c
+++ b/drivers/s390/block/dasd.c
@@ -1746,6 +1746,11 @@ restart:
goto restart;
}
+ /* log sense for fatal error */
+ if (cqr->status == DASD_CQR_FAILED) {
+ dasd_log_sense(cqr, &cqr->irb);
+ }
+
/* First of all call extended error reporting. */
if (dasd_eer_enabled(base) &&
cqr->status == DASD_CQR_FAILED) {