diff options
| author | oster <oster@NetBSD.org> | 2000-05-31 00:52:36 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2000-05-31 00:52:36 +0000 |
| commit | 00a6796b712a0dab70f3e777704f3c7b62d59e95 (patch) | |
| tree | e1e9528ed668bcbd60ff9c73cce810e1ef07c4c6 /sys/dev/raidframe | |
| parent | 4d751100472105e5478e42ee4cec37d29d501ef4 (diff) | |
Oops.. reconstruction percentages were being reported incorrectly.
Thanks to Manuel Bouyer for noting this.
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_reconstruct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_reconstruct.c b/sys/dev/raidframe/rf_reconstruct.c index b98620c6f80..b882d70d55c 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.24 2000/05/28 03:42:23 oster Exp $ */ +/* $NetBSD: rf_reconstruct.c,v 1.25 2000/05/31 00:52:36 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -706,7 +706,7 @@ rf_ContinueReconstructFailedDisk(reconDesc) rf_UnitsLeftToReconstruct(mapPtr); raidPtr->reconControl[row]->percentComplete = - 100 - (raidPtr->reconControl[row]->numRUsComplete * 100 / raidPtr->reconControl[row]->numRUsTotal); + (raidPtr->reconControl[row]->numRUsComplete * 100 / raidPtr->reconControl[row]->numRUsTotal); if (rf_prReconSched) { rf_PrintReconSchedule(raidPtr->reconControl[row]->reconMap, &(raidPtr->reconControl[row]->starttime)); } |
