Home | History | Annotate | Line # | Download | only in raidframe
rf_optnames.h revision 1.2
      1 /*	$NetBSD: rf_optnames.h,v 1.2 1999/01/26 02:33:59 oster 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 (at) 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 
     36 RF_DBG_OPTION(accSizeKB,0) /* if nonzero, the fixed access size to run */
     37 RF_DBG_OPTION(accessDebug,0)
     38 RF_DBG_OPTION(accessTraceBufSize,0)
     39 RF_DBG_OPTION(alignAccesses,0) /* whether accs should be aligned to their size */
     40 RF_DBG_OPTION(camlayerIOs,0)
     41 RF_DBG_OPTION(camlayerDebug,0) /* debug CAM activity */
     42 RF_DBG_OPTION(cscanDebug,0) /* debug CSCAN sorting */
     43 RF_DBG_OPTION(dagDebug,0)
     44 RF_DBG_OPTION(debugPrintUseBuffer,0)
     45 RF_DBG_OPTION(degDagDebug,0)
     46 RF_DBG_OPTION(disableAsyncAccs,0)
     47 RF_DBG_OPTION(diskDebug,0)
     48 RF_DBG_OPTION(doDebug,0)
     49 RF_DBG_OPTION(dtDebug,0)
     50 RF_DBG_OPTION(enableAtomicRMW,0) /* this debug var enables locking of the disk
     51                                   * arm during small-write operations.  Setting
     52                                   * this variable to anything other than 0 will
     53                                   * result in deadlock.  (wvcii)
     54                                   */
     55 RF_DBG_OPTION(engineDebug,0)
     56 RF_DBG_OPTION(fifoDebug,0) /* debug fifo queueing */
     57 RF_DBG_OPTION(floatingRbufDebug,0)
     58 RF_DBG_OPTION(forceHeadSepLimit,-1)
     59 RF_DBG_OPTION(forceNumFloatingReconBufs,-1) /* wire down number of extra recon buffers to use */
     60 RF_DBG_OPTION(keepAccTotals,0) /* turn on keep_acc_totals */
     61 RF_DBG_OPTION(lockTableSize,RF_DEFAULT_LOCK_TABLE_SIZE)
     62 RF_DBG_OPTION(mapDebug,0)
     63 RF_DBG_OPTION(maxNumTraces,-1)
     64 RF_DBG_OPTION(maxRandomSizeKB,128) /* if rf_accSizeKB==0, acc sizes are uniform in [ (1/2)..maxRandomSizeKB ] */
     65 RF_DBG_OPTION(maxTraceRunTimeSec,0)
     66 RF_DBG_OPTION(memAmtDebug,0) /* trace amount of memory allocated */
     67 RF_DBG_OPTION(memChunkDebug,0)
     68 RF_DBG_OPTION(memDebug,0)
     69 RF_DBG_OPTION(memDebugAddress,0)
     70 RF_DBG_OPTION(numBufsToAccumulate,1) /* number of buffers to accumulate before doing XOR */
     71 RF_DBG_OPTION(prReconSched,0)
     72 RF_DBG_OPTION(printDAGsDebug,0)
     73 RF_DBG_OPTION(printStatesDebug,0)
     74 RF_DBG_OPTION(protectedSectors,64L) /* # of sectors at start of disk to
     75                                        exclude from RAID address space */
     76 RF_DBG_OPTION(pssDebug,0)
     77 RF_DBG_OPTION(queueDebug,0)
     78 RF_DBG_OPTION(quiesceDebug,0)
     79 RF_DBG_OPTION(raidSectorOffset,0) /* added to all incoming sectors to
     80                                      debug alignment problems */
     81 RF_DBG_OPTION(reconDebug,0)
     82 RF_DBG_OPTION(reconbufferDebug,0)
     83 RF_DBG_OPTION(rewriteParityStripes,0) /* debug flag that causes parity rewrite at startup */
     84 RF_DBG_OPTION(scanDebug,0) /* debug SCAN sorting */
     85 RF_DBG_OPTION(showXorCallCounts,0) /* show n-way Xor call counts */
     86 RF_DBG_OPTION(shutdownDebug,0) /* show shutdown calls */
     87 RF_DBG_OPTION(sizePercentage,100)
     88 RF_DBG_OPTION(sstfDebug,0) /* turn on debugging info for sstf queueing */
     89 RF_DBG_OPTION(stripeLockDebug,0)
     90 RF_DBG_OPTION(suppressLocksAndLargeWrites,0)
     91 RF_DBG_OPTION(suppressTraceDelays,0)
     92 RF_DBG_OPTION(testDebug,0)
     93 RF_DBG_OPTION(useMemChunks,1)
     94 RF_DBG_OPTION(validateDAGDebug,0)
     95 RF_DBG_OPTION(validateVisitedDebug,1) /* XXX turn to zero by default? */
     96 RF_DBG_OPTION(verifyParityDebug,0)
     97 RF_DBG_OPTION(warnLongIOs,0)
     98 
     99 RF_DBG_OPTION(debugKernelAccess,0) /* DoAccessKernel debugging */
    100 
    101 #ifndef _KERNEL
    102 RF_DBG_OPTION(disableParityVerify,0) /* supress verification of parity */
    103 RF_DBG_OPTION(interactiveScript,0) /* set as a debug option for now */
    104 RF_DBG_OPTION(looptestShowWrites,0) /* user-level loop test write debugging */
    105 RF_DBG_OPTION(traceDebug,0)
    106 #endif /* !KERNEL */
    107 
    108 #if RF_INCLUDE_PARITYLOGGING > 0
    109 RF_DBG_OPTION(forceParityLogReint,0)
    110 RF_DBG_OPTION(numParityRegions,0) /* number of regions in the array */
    111 RF_DBG_OPTION(numReintegrationThreads,1)
    112 RF_DBG_OPTION(parityLogDebug,0) /* if nonzero, enables debugging of parity logging */
    113 RF_DBG_OPTION(totalInCoreLogCapacity,1024*1024) /* target bytes available for in-core logs */
    114 #endif /* RF_INCLUDE_PARITYLOGGING > 0 */
    115 
    116 #if DFSTRACE > 0
    117 RF_DBG_OPTION(DFSTraceAccesses,0)
    118 #endif /* DFSTRACE > 0 */
    119 
    120 #if RF_DEMO > 0
    121 RF_DBG_OPTION(demoMeterHpos,0) /* horizontal position of meters for demo mode */
    122 RF_DBG_OPTION(demoMeterTag,0)
    123 RF_DBG_OPTION(demoMeterVpos,0) /* vertical position of meters for demo mode */
    124 RF_DBG_OPTION(demoMode,0)
    125 RF_DBG_OPTION(demoSMM,0)
    126 RF_DBG_OPTION(demoSuppressReconInitVerify,0) /* supress initialization & verify for recon */
    127 #endif /* RF_DEMO > 0 */
    128