summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2004-01-09 23:26:17 +0000
committeroster <oster@NetBSD.org>2004-01-09 23:26:17 +0000
commit35d7c1ee7e1e482a59ae9c829e6cac7687c93a56 (patch)
tree4ec7d1dbb90afe08a0bf2b6e1855cd7d7d339ff3 /sys/dev/raidframe
parent8f3b1a3c981e8cc8ff03b24b927800110a2bd45c (diff)
Cleanup rf_enableAtomicRMW and its use. According to the comments, we
can't set this to anything other than zero anyway. Shaves off another 900 bytes. lu_flag's days are numbered now, as are the middle parameters of RF_CREATE_PARAM3.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_dagffwr.c6
-rw-r--r--sys/dev/raidframe/rf_optnames.h7
2 files changed, 4 insertions, 9 deletions
diff --git a/sys/dev/raidframe/rf_dagffwr.c b/sys/dev/raidframe/rf_dagffwr.c
index b114a5e4cef..f1876179983 100644
--- a/sys/dev/raidframe/rf_dagffwr.c
+++ b/sys/dev/raidframe/rf_dagffwr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_dagffwr.c,v 1.14 2004/01/06 03:27:13 oster Exp $ */
+/* $NetBSD: rf_dagffwr.c,v 1.15 2004/01/09 23:26:17 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_dagffwr.c,v 1.14 2004/01/06 03:27:13 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_dagffwr.c,v 1.15 2004/01/09 23:26:17 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -491,7 +491,7 @@ rf_CommonCreateSmallWriteDAG(RF_Raid_t *raidPtr, RF_AccessStripeMap_t *asmap,
long nfaults;
nfaults = qfuncs ? 2 : 1;
- lu_flag = (rf_enableAtomicRMW) ? 1 : 0; /* lock/unlock flag */
+ lu_flag = 0; /* lock/unlock flag */
parityStripeID = rf_RaidAddressToParityStripeID(&(raidPtr->Layout),
asmap->raidAddress, &which_ru);
diff --git a/sys/dev/raidframe/rf_optnames.h b/sys/dev/raidframe/rf_optnames.h
index 8fdaee4c419..61e8b0f0803 100644
--- a/sys/dev/raidframe/rf_optnames.h
+++ b/sys/dev/raidframe/rf_optnames.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_optnames.h,v 1.9 2003/12/31 22:25:38 oster Exp $ */
+/* $NetBSD: rf_optnames.h,v 1.10 2004/01/09 23:26:17 oster Exp $ */
/*
* rf_optnames.h
*/
@@ -38,11 +38,6 @@ RF_DBG_OPTION(cscanDebug, 0) /* debug CSCAN sorting */
RF_DBG_OPTION(dagDebug, 0)
RF_DBG_OPTION(degDagDebug, 0)
RF_DBG_OPTION(diskDebug, 0)
-RF_DBG_OPTION(enableAtomicRMW, 0) /* this debug var enables locking of
- * the disk arm during small-write
- * operations. Setting this variable
- * to anything other than 0 will
- * result in deadlock. (wvcii) */
RF_DBG_OPTION(engineDebug, 0)
RF_DBG_OPTION(fifoDebug, 0) /* debug fifo queueing */
RF_DBG_OPTION(floatingRbufDebug, 0)