]> git.itanic.dy.fi Git - linux-stable/commit
s390/dasd: fix failfast for disconnected devices
authorStefan Haberland <stefan.haberland@de.ibm.com>
Tue, 22 Dec 2015 12:34:38 +0000 (13:34 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 Dec 2015 09:34:41 +0000 (10:34 +0100)
commitc6fc7b6f8ca5d3d59446ce4ee870569355cfb04a
tree80f53bfdd4a1bb1379c08e8038e611d9eaa3f115
parentcf61393f4aa30f4c2a11cf2437d49ff4de6eb4fb
s390/dasd: fix failfast for disconnected devices

Enabling failfast should let request fail immediately if either an
error occurred or the device gets disconnected.
For disconnected devices new requests are not fetches from the block
queue and therefore failfast is not triggered.

Fix by letting the DASD driver fetch requests for disconnected devices
with failfast active.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c