diff options
| author | oster <oster@NetBSD.org> | 2008-04-15 16:05:43 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2008-04-15 16:05:43 +0000 |
| commit | 8fb49f6fa89e30e41dab89422592eeb7506485d3 (patch) | |
| tree | a1663b044cda5723b33d99f6b3702567dcab5e66 /sys/dev/raidframe | |
| parent | 83dd106948480bbd62ba428d3ba47142ba13b4b8 (diff) | |
A forced recon read should not default to indicating that the reads
for that disk have stopped, since this will bump us out of the normal
reconstruction loop prematurely.
Fixes the (mostly cosmetic) bug where the reconstruction
status values stop updating, and from raidctl it appears that
reconstruction has totally stalled (which it actually hasn't -- the
reconstruction does complete properly, but not in the normal way).
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_reconstruct.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_reconstruct.c b/sys/dev/raidframe/rf_reconstruct.c index 64b06b72d05..b5e03772865 100644 --- a/sys/dev/raidframe/rf_reconstruct.c +++ b/sys/dev/raidframe/rf_reconstruct.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_reconstruct.c,v 1.102 2008/04/14 17:24:50 oster Exp $ */ +/* $NetBSD: rf_reconstruct.c,v 1.103 2008/04/15 16:05:43 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -33,7 +33,7 @@ ************************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.102 2008/04/14 17:24:50 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.103 2008/04/15 16:05:43 oster Exp $"); #include <sys/param.h> #include <sys/time.h> @@ -988,6 +988,7 @@ ProcessReconEvent(RF_Raid_t *raidPtr, RF_ReconEvent_t *event) if (!raidPtr->reconControl->error) { submitblocked = rf_SubmitReconBuffer(rbuf, 1, 0); RF_ASSERT(!submitblocked); + retcode = 0; } break; |
