]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] dasd: fix unsolicited interrupt recognition
authorStefan Weinhuber <wein@de.ibm.com>
Mon, 25 Oct 2010 14:10:47 +0000 (16:10 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 25 Oct 2010 14:10:20 +0000 (16:10 +0200)
commit500c5acce85a91d04a7376c557389d78f72a2bc3
tree03e643e12b634b201201cddb162de46aa744595b
parent5b8e213ef41240eb68721d63feba0ccc5a79c0dd
[S390] dasd: fix unsolicited interrupt recognition

The dasd interrupt handler needs to distinguish solicited from
unsolicited interrupts, as unsolicited interrupts may require special
handling (e.g. summary unit checks) and solicited interrupts require
proper error recovery for the failed I/O request.
The interrupt handler needs to check several bit fields in the
interrupt response block (irb) to make this distinction.
So far our check of the status control bits has not been specific
enough, which may lead to a failed request getting just retried
instead of the necessary error recovery.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c
drivers/s390/block/dasd_eckd.c