Commit a9cffb22 authored by Stefan Haberland's avatar Stefan Haberland Committed by Martin Schwidefsky

[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: default avatarStefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 74af2831
...@@ -1746,6 +1746,11 @@ static void __dasd_process_block_ccw_queue(struct dasd_block *block, ...@@ -1746,6 +1746,11 @@ static void __dasd_process_block_ccw_queue(struct dasd_block *block,
goto 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. */ /* First of all call extended error reporting. */
if (dasd_eer_enabled(base) && if (dasd_eer_enabled(base) &&
cqr->status == DASD_CQR_FAILED) { cqr->status == DASD_CQR_FAILED) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment