diff options
author | Horst Hummel <horst.hummel@de.ibm.com> | 2005-07-27 14:45:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:05 -0400 |
commit | d61f6f3d8b63a2aadcf8b058fe65581ccd8dee97 (patch) | |
tree | 8aa23d9d1edd7bf2329f5e307ba3a0537f30aeec /drivers/s390 | |
parent | c63307f164a79e0ff6dd2da33436c59b3d3396cd (diff) |
[PATCH] s390: fba dasd i/o errors
The FBA discipline does not use retries for failed requests. A request fails
after the first unsuccessful start attempt. There are some rare conditions
(e.g. CIO path recovery) in which the start of an i/o on a fba device can
fail. A tiny amount of retries is therefore reasonable.
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>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/block/dasd_fba.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd_fba.c b/drivers/s390/block/dasd_fba.c index 7963ae343eef..28cb4613b7f5 100644 --- a/drivers/s390/block/dasd_fba.c +++ b/drivers/s390/block/dasd_fba.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Bugreports.to..: <Linux390@de.ibm.com> | 4 | * Bugreports.to..: <Linux390@de.ibm.com> |
5 | * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000 | 5 | * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000 |
6 | * | 6 | * |
7 | * $Revision: 1.39 $ | 7 | * $Revision: 1.40 $ |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/config.h> | 10 | #include <linux/config.h> |
@@ -354,6 +354,8 @@ dasd_fba_build_cp(struct dasd_device * device, struct request *req) | |||
354 | } | 354 | } |
355 | cqr->device = device; | 355 | cqr->device = device; |
356 | cqr->expires = 5 * 60 * HZ; /* 5 minutes */ | 356 | cqr->expires = 5 * 60 * HZ; /* 5 minutes */ |
357 | cqr->retries = 32; | ||
358 | cqr->buildclk = get_clock(); | ||
357 | cqr->status = DASD_CQR_FILLED; | 359 | cqr->status = DASD_CQR_FILLED; |
358 | return cqr; | 360 | return cqr; |
359 | } | 361 | } |