]> git.itanic.dy.fi Git - linux-stable/commit
s390/dasd: fix hanging safe offline
authorStefan Haberland <sth@linux.vnet.ibm.com>
Thu, 18 May 2017 11:24:45 +0000 (13:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 14:26:01 +0000 (16:26 +0200)
commite8ac01555d9e464249e8bb122337d6d6e5589ccc
treef567b83e800bbc3fa2d0417a49b3c5f5621bb2df
parent2757fe1d8ebd0e6ab1dbf1105978b8c8369dcc49
s390/dasd: fix hanging safe offline

The safe offline processing may hang forever because it waits for I/O
which can not be started because of the offline flag that prevents new
I/O from being started.

Allow I/O to be started during safe offline processing because in this
special case we take care that the queues are empty before throwing away
the device.

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