root/dev/raidframe/rf_optnames.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


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

/* [<][>][^][v][top][bottom][index][help] */