diff options
| author | oster <oster@NetBSD.org> | 2004-01-05 01:19:07 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2004-01-05 01:19:07 +0000 |
| commit | 181f2eebeee0dab822bf0490b5223f0a35bf8b95 (patch) | |
| tree | 452e9a81a82ec4a724e597c2406fbd290295abe3 /sys/dev/raidframe/rf_driver.c | |
| parent | b76a454b907c1d6f9656e09e3c7d1996a64c2797 (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_driver.c')
| -rw-r--r-- | sys/dev/raidframe/rf_driver.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_driver.c b/sys/dev/raidframe/rf_driver.c index 14a32a7b10f..1b698cab561 100644 --- a/sys/dev/raidframe/rf_driver.c +++ b/sys/dev/raidframe/rf_driver.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_driver.c,v 1.81 2004/01/01 19:27:36 oster Exp $ */ +/* $NetBSD: rf_driver.c,v 1.82 2004/01/05 01:19:07 oster Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. * All rights reserved. @@ -73,7 +73,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.81 2004/01/01 19:27:36 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.82 2004/01/05 01:19:07 oster Exp $"); #include "opt_raid_diagnostic.h" @@ -377,13 +377,14 @@ rf_Configure(RF_Raid_t *raidPtr, RF_Config_t *cfgPtr, RF_AutoConfig_t *ac) DO_RAID_INIT_CONFIGURE(rf_ConfigurePSStatus); +#if RF_INCLUDE_CHAINDECLUSTER > 0 for (col = 0; col < raidPtr->numCol; col++) { /* * XXX better distribution */ raidPtr->hist_diskreq[col] = 0; } - +#endif raidPtr->numNewFailures = 0; raidPtr->copyback_in_progress = 0; raidPtr->parity_rewrite_in_progress = 0; |
