[S390] cio: add timeout handler for internal operations.

Add timeout handler for common-I/O-layer-internal I/O operations.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by Peter Oberparleiter and committed by Martin Schwidefsky 3230015e 0b2b6e1d

+3
+3
drivers/s390/cio/device_ops.c
··· 312 313 sch = to_subchannel(cdev->dev.parent); 314 do { 315 ret = cio_start (sch, ccw, lpm); 316 if (ret == -EBUSY) { 317 /* Try again later. */ 318 spin_unlock_irq(&sch->lock);
··· 312 313 sch = to_subchannel(cdev->dev.parent); 314 do { 315 + ccw_device_set_timeout(cdev, 60 * HZ); 316 ret = cio_start (sch, ccw, lpm); 317 + if (ret != 0) 318 + ccw_device_set_timeout(cdev, 0); 319 if (ret == -EBUSY) { 320 /* Try again later. */ 321 spin_unlock_irq(&sch->lock);