[PATCH] s390: fix I/O termination race in cio
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
Fri, 28 Apr 2006 01:40:02 +0000 (18:40 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 28 Apr 2006 15:33:47 +0000 (08:33 -0700)
commit329b785bcee5d001f97a33bdb80de014bb5020b0
tree795cbbba999f83c3e61a87135dde088b574c7406
parentbcff5cd667da6eb3df9173626497e3e69b004e42
[PATCH] s390: fix I/O termination race in cio

Fix a race condition in the I/O termination logic.  The race can cause I/O to
a dasd device to fail with no retry left after turning one channel path to the
device off and on multiple times.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/cio/chsc.c