s390/cio: skip broken paths
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 28 Jan 2013 18:31:50 +0000 (19:31 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 14 Feb 2013 14:55:07 +0000 (15:55 +0100)
commite6a0b7c90f9f2663f470bbfaf83afcf52f8459e8
tree4856e350b7dee7878d6ea3fb68b54976abbbbae7
parent69f5576f6c8c9d0f0b3670ee7c807a194b4c40f4
s390/cio: skip broken paths

Omit known to be broken paths (those set in path_noirq_mask) for the
sense/set PGID and nop IO commands.

Note: path_noirq_mask will be reset in ccw_device_verify_start (the
paths could be healthy again). However if we restart a path
verification via verify_start this mask will not be reset (there is
no need to let the wait for an interrupt time out again - plus we
do not want to loop once we deal with the paths in unknown path group
state).

Reviewed-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device_pgid.c