summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_reconstruct.h
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2000-05-28 00:48:30 +0000
committeroster <oster@NetBSD.org>2000-05-28 00:48:30 +0000
commit1aaf6772f1cd00520131a35a50bf41c196fe1ffc (patch)
tree0a26d921e2962bc2c91ea35caa10a51da26fa853 /sys/dev/raidframe/rf_reconstruct.h
parent3713246e34ac94be1a4ef4cc31056b0c0fa9ba46 (diff)
- Add a mechanism for obtaining finer-grained 'progress' information
regarding reconstructs, copybacks, etc. - RAID 0 doesn't do copybacks, but don't make raidctl sweat about it.
Diffstat (limited to 'sys/dev/raidframe/rf_reconstruct.h')
-rw-r--r--sys/dev/raidframe/rf_reconstruct.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/raidframe/rf_reconstruct.h b/sys/dev/raidframe/rf_reconstruct.h
index b7514326c47..41e3fa23f3d 100644
--- a/sys/dev/raidframe/rf_reconstruct.h
+++ b/sys/dev/raidframe/rf_reconstruct.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_reconstruct.h,v 1.4 1999/03/02 03:18:48 oster Exp $ */
+/* $NetBSD: rf_reconstruct.h,v 1.5 2000/05/28 00:48:30 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -127,6 +127,8 @@ struct RF_ReconCtrl_s {
RF_StripeNum_t lastPSID;/* the ID of the last parity stripe we want
* reconstructed */
int percentComplete;/* percentage completion of reconstruction */
+ int numRUsComplete; /* number of Reconstruction Units done */
+ int numRUsTotal; /* total number of Reconstruction Units */
/* reconstruction event queue */
RF_ReconEvent_t *eventQueue; /* queue of pending reconstruction