summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_raid.h
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2004-01-05 01:19:07 +0000
committeroster <oster@NetBSD.org>2004-01-05 01:19:07 +0000
commit181f2eebeee0dab822bf0490b5223f0a35bf8b95 (patch)
tree452e9a81a82ec4a724e597c2406fbd290295abe3 /sys/dev/raidframe/rf_raid.h
parentb76a454b907c1d6f9656e09e3c7d1996a64c2797 (diff)
remove terminate_disk_queues from RF_Raid_s. The hist_diskreq[]
stuff is only used for the CHAINDECLUSTERING, so hide it with an #if.
Diffstat (limited to 'sys/dev/raidframe/rf_raid.h')
-rw-r--r--sys/dev/raidframe/rf_raid.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_raid.h b/sys/dev/raidframe/rf_raid.h
index 3396e7431d2..da717874c32 100644
--- a/sys/dev/raidframe/rf_raid.h
+++ b/sys/dev/raidframe/rf_raid.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_raid.h,v 1.23 2004/01/01 19:27:36 oster Exp $ */
+/* $NetBSD: rf_raid.h,v 1.24 2004/01/05 01:19:07 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -264,10 +264,11 @@ struct RF_Raid_s {
* somewhere else, or at least hung off this
* in some generic way
*/
+#if RF_INCLUDE_CHAINDECLUSTER > 0
/* used by rf_compute_workload_shift */
RF_RowCol_t hist_diskreq[RF_MAXCOL];
-
+#endif
/* used by declustering */
int noRotate;