]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: recover from bad paths
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 14 Sep 2017 11:55:22 +0000 (13:55 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 19 Sep 2017 06:36:19 +0000 (08:36 +0200)
commit82e466fe94148574402b1c89af77be84760ee3b7
treeae905589218938dd40ac2c68f35942a93833038e
parentefc12df5e24f8564d0b88ec20f59609e18ab28f8
s390/cio: recover from bad paths

In some situations we don't receive notification from firmware that
a previously unusable channelpath is usable again.

Schedule recovery for devices that return from path verification
without using all potentially usable paths. The recovery thread will
periodically trigger a path verification on the affected devices.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Suggested-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device.c
drivers/s390/cio/device.h
drivers/s390/cio/device_fsm.c
drivers/s390/cio/io_sch.h