diff options
Diffstat (limited to 'drivers/s390/block/dasd.c')
-rw-r--r-- | drivers/s390/block/dasd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c index db9193d38986..99268b964f67 100644 --- a/drivers/s390/block/dasd.c +++ b/drivers/s390/block/dasd.c | |||
@@ -1197,12 +1197,13 @@ static void __dasd_device_check_expire(struct dasd_device *device) | |||
1197 | (time_after_eq(jiffies, cqr->expires + cqr->starttime))) { | 1197 | (time_after_eq(jiffies, cqr->expires + cqr->starttime))) { |
1198 | if (device->discipline->term_IO(cqr) != 0) { | 1198 | if (device->discipline->term_IO(cqr) != 0) { |
1199 | /* Hmpf, try again in 5 sec */ | 1199 | /* Hmpf, try again in 5 sec */ |
1200 | dasd_device_set_timer(device, 5*HZ); | ||
1201 | DEV_MESSAGE(KERN_ERR, device, | 1200 | DEV_MESSAGE(KERN_ERR, device, |
1202 | "internal error - timeout (%is) expired " | 1201 | "internal error - timeout (%is) expired " |
1203 | "for cqr %p, termination failed, " | 1202 | "for cqr %p, termination failed, " |
1204 | "retrying in 5s", | 1203 | "retrying in 5s", |
1205 | (cqr->expires/HZ), cqr); | 1204 | (cqr->expires/HZ), cqr); |
1205 | cqr->expires += 5*HZ; | ||
1206 | dasd_device_set_timer(device, 5*HZ); | ||
1206 | } else { | 1207 | } else { |
1207 | DEV_MESSAGE(KERN_ERR, device, | 1208 | DEV_MESSAGE(KERN_ERR, device, |
1208 | "internal error - timeout (%is) expired " | 1209 | "internal error - timeout (%is) expired " |