]> git.itanic.dy.fi Git - linux-stable/commit
s390/dasd: fix unresumed device after suspend/resume
authorStefan Haberland <stefan.haberland@de.ibm.com>
Thu, 2 Apr 2015 10:52:41 +0000 (12:52 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 15 Apr 2015 10:23:51 +0000 (12:23 +0200)
commita3147a7bc266df39b4f471ee7c4c9adcb56d29a6
treeaeb9d19aadee1fc00fc183188fb9a7e03f6a4227
parentf2608cd4a37479d11d0748f524a6a363ee38631f
s390/dasd: fix unresumed device after suspend/resume

The DASD device driver only has a limited amount of memory to build
I/O requests.
This memory was used by blocklayer requests leading to an inability
to build needed internal requests to resume the device.
Fix by preventing the DASD driver to fetch requests for a stopped
device.

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