rf_optnames.h revision 1.1 1 1.1 oster /* $NetBSD: rf_optnames.h,v 1.1 1998/11/13 04:20:31 oster Exp $ */
2 1.1 oster /*
3 1.1 oster * rf_optnames.h
4 1.1 oster */
5 1.1 oster /*
6 1.1 oster * Copyright (c) 1996 Carnegie-Mellon University.
7 1.1 oster * All rights reserved.
8 1.1 oster *
9 1.1 oster * Author: Jim Zelenka
10 1.1 oster *
11 1.1 oster * Permission to use, copy, modify and distribute this software and
12 1.1 oster * its documentation is hereby granted, provided that both the copyright
13 1.1 oster * notice and this permission notice appear in all copies of the
14 1.1 oster * software, derivative works or modified versions, and any portions
15 1.1 oster * thereof, and that both notices appear in supporting documentation.
16 1.1 oster *
17 1.1 oster * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
18 1.1 oster * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
19 1.1 oster * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
20 1.1 oster *
21 1.1 oster * Carnegie Mellon requests users of this software to return to
22 1.1 oster *
23 1.1 oster * Software Distribution Coordinator or Software.Distribution (at) CS.CMU.EDU
24 1.1 oster * School of Computer Science
25 1.1 oster * Carnegie Mellon University
26 1.1 oster * Pittsburgh PA 15213-3890
27 1.1 oster *
28 1.1 oster * any improvements or extensions that they make and grant Carnegie the
29 1.1 oster * rights to redistribute these changes.
30 1.1 oster */
31 1.1 oster
32 1.1 oster /*
33 1.1 oster * Don't protect against multiple inclusion here- we actually want this.
34 1.1 oster */
35 1.1 oster
36 1.1 oster #ifdef _KERNEL
37 1.1 oster #define KERNEL
38 1.1 oster #endif
39 1.1 oster
40 1.1 oster RF_DBG_OPTION(accSizeKB,0) /* if nonzero, the fixed access size to run */
41 1.1 oster RF_DBG_OPTION(accessDebug,0)
42 1.1 oster RF_DBG_OPTION(accessTraceBufSize,0)
43 1.1 oster RF_DBG_OPTION(alignAccesses,0) /* whether accs should be aligned to their size */
44 1.1 oster RF_DBG_OPTION(camlayerIOs,0)
45 1.1 oster RF_DBG_OPTION(camlayerDebug,0) /* debug CAM activity */
46 1.1 oster RF_DBG_OPTION(cscanDebug,0) /* debug CSCAN sorting */
47 1.1 oster RF_DBG_OPTION(dagDebug,0)
48 1.1 oster RF_DBG_OPTION(debugPrintUseBuffer,0)
49 1.1 oster RF_DBG_OPTION(degDagDebug,0)
50 1.1 oster RF_DBG_OPTION(disableAsyncAccs,0)
51 1.1 oster RF_DBG_OPTION(diskDebug,0)
52 1.1 oster RF_DBG_OPTION(doDebug,0)
53 1.1 oster RF_DBG_OPTION(dtDebug,0)
54 1.1 oster RF_DBG_OPTION(enableAtomicRMW,0) /* this debug var enables locking of the disk
55 1.1 oster * arm during small-write operations. Setting
56 1.1 oster * this variable to anything other than 0 will
57 1.1 oster * result in deadlock. (wvcii)
58 1.1 oster */
59 1.1 oster RF_DBG_OPTION(engineDebug,0)
60 1.1 oster RF_DBG_OPTION(fifoDebug,0) /* debug fifo queueing */
61 1.1 oster RF_DBG_OPTION(floatingRbufDebug,0)
62 1.1 oster RF_DBG_OPTION(forceHeadSepLimit,-1)
63 1.1 oster RF_DBG_OPTION(forceNumFloatingReconBufs,-1) /* wire down number of extra recon buffers to use */
64 1.1 oster RF_DBG_OPTION(keepAccTotals,0) /* turn on keep_acc_totals */
65 1.1 oster RF_DBG_OPTION(lockTableSize,RF_DEFAULT_LOCK_TABLE_SIZE)
66 1.1 oster RF_DBG_OPTION(mapDebug,0)
67 1.1 oster RF_DBG_OPTION(maxNumTraces,-1)
68 1.1 oster RF_DBG_OPTION(maxRandomSizeKB,128) /* if rf_accSizeKB==0, acc sizes are uniform in [ (1/2)..maxRandomSizeKB ] */
69 1.1 oster RF_DBG_OPTION(maxTraceRunTimeSec,0)
70 1.1 oster RF_DBG_OPTION(memAmtDebug,0) /* trace amount of memory allocated */
71 1.1 oster RF_DBG_OPTION(memChunkDebug,0)
72 1.1 oster RF_DBG_OPTION(memDebug,0)
73 1.1 oster RF_DBG_OPTION(memDebugAddress,0)
74 1.1 oster RF_DBG_OPTION(numBufsToAccumulate,1) /* number of buffers to accumulate before doing XOR */
75 1.1 oster RF_DBG_OPTION(prReconSched,0)
76 1.1 oster RF_DBG_OPTION(printDAGsDebug,0)
77 1.1 oster RF_DBG_OPTION(printStatesDebug,0)
78 1.1 oster RF_DBG_OPTION(protectedSectors,64L) /* # of sectors at start of disk to
79 1.1 oster exclude from RAID address space */
80 1.1 oster RF_DBG_OPTION(pssDebug,0)
81 1.1 oster RF_DBG_OPTION(queueDebug,0)
82 1.1 oster RF_DBG_OPTION(quiesceDebug,0)
83 1.1 oster RF_DBG_OPTION(raidSectorOffset,0) /* added to all incoming sectors to
84 1.1 oster debug alignment problems */
85 1.1 oster RF_DBG_OPTION(reconDebug,0)
86 1.1 oster RF_DBG_OPTION(reconbufferDebug,0)
87 1.1 oster RF_DBG_OPTION(rewriteParityStripes,0) /* debug flag that causes parity rewrite at startup */
88 1.1 oster RF_DBG_OPTION(scanDebug,0) /* debug SCAN sorting */
89 1.1 oster RF_DBG_OPTION(showXorCallCounts,0) /* show n-way Xor call counts */
90 1.1 oster RF_DBG_OPTION(shutdownDebug,0) /* show shutdown calls */
91 1.1 oster RF_DBG_OPTION(sizePercentage,100)
92 1.1 oster RF_DBG_OPTION(sstfDebug,0) /* turn on debugging info for sstf queueing */
93 1.1 oster RF_DBG_OPTION(stripeLockDebug,0)
94 1.1 oster RF_DBG_OPTION(suppressLocksAndLargeWrites,0)
95 1.1 oster RF_DBG_OPTION(suppressTraceDelays,0)
96 1.1 oster RF_DBG_OPTION(testDebug,0)
97 1.1 oster RF_DBG_OPTION(useMemChunks,1)
98 1.1 oster RF_DBG_OPTION(validateDAGDebug,0)
99 1.1 oster RF_DBG_OPTION(validateVisitedDebug,1) /* XXX turn to zero by default? */
100 1.1 oster RF_DBG_OPTION(verifyParityDebug,0)
101 1.1 oster RF_DBG_OPTION(warnLongIOs,0)
102 1.1 oster
103 1.1 oster #ifdef KERNEL
104 1.1 oster RF_DBG_OPTION(debugKernelAccess,0) /* DoAccessKernel debugging */
105 1.1 oster #endif /* KERNEL */
106 1.1 oster
107 1.1 oster #ifndef KERNEL
108 1.1 oster RF_DBG_OPTION(disableParityVerify,0) /* supress verification of parity */
109 1.1 oster RF_DBG_OPTION(interactiveScript,0) /* set as a debug option for now */
110 1.1 oster RF_DBG_OPTION(looptestShowWrites,0) /* user-level loop test write debugging */
111 1.1 oster RF_DBG_OPTION(traceDebug,0)
112 1.1 oster #endif /* !KERNEL */
113 1.1 oster
114 1.1 oster #ifdef SIMULATE
115 1.1 oster RF_DBG_OPTION(addrSizePercentage,100)
116 1.1 oster RF_DBG_OPTION(diskTrace,0) /* ised to turn the timing traces on and of */
117 1.1 oster RF_DBG_OPTION(eventDebug,0)
118 1.1 oster RF_DBG_OPTION(mWactive,1500)
119 1.1 oster RF_DBG_OPTION(mWidle,625)
120 1.1 oster RF_DBG_OPTION(mWsleep,15)
121 1.1 oster RF_DBG_OPTION(mWspinup,3500)
122 1.1 oster #endif /* SIMULATE */
123 1.1 oster
124 1.1 oster #if RF_INCLUDE_PARITYLOGGING > 0
125 1.1 oster RF_DBG_OPTION(forceParityLogReint,0)
126 1.1 oster RF_DBG_OPTION(numParityRegions,0) /* number of regions in the array */
127 1.1 oster RF_DBG_OPTION(numReintegrationThreads,1)
128 1.1 oster RF_DBG_OPTION(parityLogDebug,0) /* if nonzero, enables debugging of parity logging */
129 1.1 oster RF_DBG_OPTION(totalInCoreLogCapacity,1024*1024) /* target bytes available for in-core logs */
130 1.1 oster #endif /* RF_INCLUDE_PARITYLOGGING > 0 */
131 1.1 oster
132 1.1 oster #if DFSTRACE > 0
133 1.1 oster RF_DBG_OPTION(DFSTraceAccesses,0)
134 1.1 oster #endif /* DFSTRACE > 0 */
135 1.1 oster
136 1.1 oster #if RF_DEMO > 0
137 1.1 oster RF_DBG_OPTION(demoMeterHpos,0) /* horizontal position of meters for demo mode */
138 1.1 oster RF_DBG_OPTION(demoMeterTag,0)
139 1.1 oster RF_DBG_OPTION(demoMeterVpos,0) /* vertical position of meters for demo mode */
140 1.1 oster RF_DBG_OPTION(demoMode,0)
141 1.1 oster RF_DBG_OPTION(demoSMM,0)
142 1.1 oster RF_DBG_OPTION(demoSuppressReconInitVerify,0) /* supress initialization & verify for recon */
143 1.1 oster #endif /* RF_DEMO > 0 */
144