]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] cio: disallow driver io for known to be broken paths
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 1 Dec 2011 12:32:20 +0000 (13:32 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 1 Dec 2011 12:32:18 +0000 (13:32 +0100)
commit94e7529ebf0e5e2a7ce08d0db93dd772b7845dd5
tree730f1ab0d4124f8783f7a83afea67b762e2007e6
parent3ab1fb97e3240f78650639b92e9edc99184ef728
[S390] cio: disallow driver io for known to be broken paths

When a driver requests to do IO, we will adjust the mask of
paths to be used to exclude varied offline paths.

Drivers trying to do IO solely on paths which are online but some
way defective may lack the information to do proper error handling.

There is no reason to allow the usage of known to be broken paths.
Thus restrict the paths a ccw driver can use for IO to a subset of
the paths cio found usable (this also excludes offline paths).

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device_ops.c