1/* $NetBSD: rf_optnames.h,v 1.11 2005/12/11 12:23:37 christos Exp $ */
2/*
3 * rf_optnames.h
4 */
5/*
6 * Copyright (c) 1996 Carnegie-Mellon University.
7 * All rights reserved.
8 *
9 * Author: Jim Zelenka
10 *
11 * Permission to use, copy, modify and distribute this software and
12 * its documentation is hereby granted, provided that both the copyright
13 * notice and this permission notice appear in all copies of the
14 * software, derivative works or modified versions, and any portions
15 * thereof, and that both notices appear in supporting documentation.
16 *
17 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
18 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
19 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
20 *
21 * Carnegie Mellon requests users of this software to return to
22 *
23 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
24 * School of Computer Science
25 * Carnegie Mellon University
26 * Pittsburgh PA 15213-3890
27 *
28 * any improvements or extensions that they make and grant Carnegie the
29 * rights to redistribute these changes.
30 */
31
32/*
33 * Don't protect against multiple inclusion here- we actually want this.
34 */
35
36RF_DBG_OPTION(accessDebug, 0)
37RF_DBG_OPTION(cscanDebug, 0) /* debug CSCAN sorting */
38RF_DBG_OPTION(dagDebug, 0)
39RF_DBG_OPTION(degDagDebug, 0)
40RF_DBG_OPTION(diskDebug, 0)
41RF_DBG_OPTION(engineDebug, 0)
42RF_DBG_OPTION(fifoDebug, 0) /* debug fifo queueing */
43RF_DBG_OPTION(floatingRbufDebug, 0)
44RF_DBG_OPTION(forceHeadSepLimit, -1)
45RF_DBG_OPTION(forceNumFloatingReconBufs, -1) /* wire down number of
46 * extra recon buffers
47 * to use */
48RF_DBG_OPTION(keepAccTotals, 0) /* turn on keep_acc_totals */
49RF_DBG_OPTION(lockTableSize, RF_DEFAULT_LOCK_TABLE_SIZE)
50RF_DBG_OPTION(mapDebug, 0)
51RF_DBG_OPTION(maxNumTraces, -1)
52
53RF_DBG_OPTION(memDebug, 0)
54RF_DBG_OPTION(memDebugAddress, 0)
55RF_DBG_OPTION(numBufsToAccumulate, 1) /* number of buffers to
56 * accumulate before doing XOR */
57RF_DBG_OPTION(prReconSched, 0)
58RF_DBG_OPTION(printDAGsDebug, 0)
59RF_DBG_OPTION(printStatesDebug, 0)
60RF_DBG_OPTION(protectedSectors, 64L) /* # of sectors at start of
61 * disk to exclude from RAID
62 * address space */
63RF_DBG_OPTION(pssDebug, 0)
64RF_DBG_OPTION(queueDebug, 0)
65RF_DBG_OPTION(quiesceDebug, 0)
66RF_DBG_OPTION(raidSectorOffset, 0) /* added to all incoming sectors to
67 * debug alignment problems */
68RF_DBG_OPTION(reconDebug, 0)
69RF_DBG_OPTION(reconbufferDebug, 0)
70RF_DBG_OPTION(scanDebug, 0) /* debug SCAN sorting */
71RF_DBG_OPTION(showXorCallCounts, 0) /* show n-way Xor call counts */
72RF_DBG_OPTION(shutdownDebug, 0) /* show shutdown calls */
73RF_DBG_OPTION(sizePercentage, 100)
74RF_DBG_OPTION(sstfDebug, 0) /* turn on debugging info for sstf queueing */
75RF_DBG_OPTION(stripeLockDebug, 0)
76RF_DBG_OPTION(suppressLocksAndLargeWrites, 0)
77RF_DBG_OPTION(validateDAGDebug, 0)
78RF_DBG_OPTION(validateVisitedDebug, 1) /* XXX turn to zero by
79 * default? */
80RF_DBG_OPTION(verifyParityDebug, 0)
81RF_DBG_OPTION(debugKernelAccess, 0) /* DoAccessKernel debugging */
82
83#if RF_INCLUDE_PARITYLOGGING > 0
84RF_DBG_OPTION(forceParityLogReint, 0)
85RF_DBG_OPTION(numParityRegions, 0) /* number of regions in the array */
86RF_DBG_OPTION(numReintegrationThreads, 1)
87RF_DBG_OPTION(parityLogDebug, 0) /* if nonzero, enables debugging of
88 * parity logging */
89RF_DBG_OPTION(totalInCoreLogCapacity, 1024 * 1024) /* target bytes
90 * available for in-core
91 * logs */
92#endif /* RF_INCLUDE_PARITYLOGGING > 0 */
93
94