linux-stable/drivers/s390
Peter Oberparleiter d302e1a5db [S390] cio: fix channel path vary
Channel path vary is currently broken: channel paths which are varied
offline are still used by Linux. The reason for this is that:

 * the path mask indicating which paths of an I/O device can be used
   is reset by each internal I/O request
 * the logic that checks if a path group is already in its designated
   target state incorrectly interprets the result "is correctly set"
   as "is correctly set and available"

Fix this by resetting the path mask only for internal I/O requests
which affect the path mask and by correcting the pgid check logic.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-12-18 17:43:32 +01:00
..
block [S390] dasd: PTR_ERR return of wrong pointer in 2009-12-18 17:43:31 +01:00
char [S390] tape: Add pr_fmt() macro to all tape source files 2009-12-18 17:43:32 +01:00
cio [S390] cio: fix channel path vary 2009-12-18 17:43:32 +01:00
crypto [S390] zcrypt: remove BKL 2009-12-07 12:51:39 +01:00
kvm [S390] kvm: use console_initcall() to initialize s390 virtio console 2009-09-11 10:29:52 +02:00
net const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
scsi [SCSI] zfcp: Remove flag ZFCP_STATUS_FSFREQ_TMFUNCNOTSUPP 2009-12-04 12:02:18 -06:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00