s390/dasd: add safe offline interface
authorStefan Haberland <stefan.haberland@de.ibm.com>
Wed, 28 Nov 2012 12:43:38 +0000 (13:43 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 30 Nov 2012 14:40:44 +0000 (15:40 +0100)
commitd07dc5d8ab6f15353c866e2768c389abdc1faba6
tree9ecf558a0e3d128534b56200b0f411aab315fc0f
parent55d3a85cd2fa3274a6dfa0901a3be342b433bfa0
s390/dasd: add safe offline interface

The regular behavior of the DASD device driver when setting a device
offline is to return all outstanding I/O as failed. This behavior is
different from that of other System z operating systems and may lead
to unexpected data loss. Adding an explicit 'safe' offline function
will allow customers to use DASDs in the way they expect them to work.

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