aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/chp.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2018-03-15 15:03:43 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-03-26 16:13:06 +0200
commit135a8b4ce5d737115571f08c6d0649f1aed6a48a (patch)
tree2c604872a0bea58568e5435a11797333364d53eb /drivers/s390/cio/chp.h
parents390/qdio: split up CCQ handling for EQBS / SQBS (diff)
downloadlinux-dev-135a8b4ce5d737115571f08c6d0649f1aed6a48a.tar.xz
linux-dev-135a8b4ce5d737115571f08c6d0649f1aed6a48a.zip
s390/cio: fix unbind of io_subchannel_driver
If the io_subchannel_driver is unbound from a subchannel it bluntly kills all I/O on the subchannel and sets the ccw_device state to not operable before deregistering the ccw_device. However, for online devices we should set the device offline (disband path groups etc.) which does not happen if the device is in not oper state. Simply deregister the ccw device - ccw_device_remove is smart enough to set the device offline properly. If everything fails call io_subchannel_quiesce afterwards as a safeguard. Reported-by: Shalini Chellathurai Saroja <shalini@de.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Acked-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chp.h')
0 files changed, 0 insertions, 0 deletions