diff options
author | Thierry Deval <tdeval@cvs.openbsd.org> | 2002-12-16 07:01:06 +0000 |
---|---|---|
committer | Thierry Deval <tdeval@cvs.openbsd.org> | 2002-12-16 07:01:06 +0000 |
commit | 9f4f754a2c89fa0aae2495b9897832c871e55410 (patch) | |
tree | 990a42520130e4092662926e20b65536fa947a43 /sys/dev/raidframe/rf_optnames.h | |
parent | d18f950d8b18360863af577de1796c0079f4bc20 (diff) |
Major KNF. Incentive from Tedu
Diffstat (limited to 'sys/dev/raidframe/rf_optnames.h')
-rw-r--r-- | sys/dev/raidframe/rf_optnames.h | 77 |
1 files changed, 46 insertions, 31 deletions
diff --git a/sys/dev/raidframe/rf_optnames.h b/sys/dev/raidframe/rf_optnames.h index 3575f1cd792..b4f837027bb 100644 --- a/sys/dev/raidframe/rf_optnames.h +++ b/sys/dev/raidframe/rf_optnames.h @@ -1,5 +1,6 @@ -/* $OpenBSD: rf_optnames.h,v 1.4 2000/01/07 14:50:22 peter Exp $ */ +/* $OpenBSD: rf_optnames.h,v 1.5 2002/12/16 07:01:04 tdeval Exp $ */ /* $NetBSD: rf_optnames.h,v 1.6 1999/12/07 02:54:08 oster Exp $ */ + /* * rf_optnames.h */ @@ -36,25 +37,28 @@ RF_DBG_OPTION(accessDebug, 0) RF_DBG_OPTION(accessTraceBufSize, 0) -RF_DBG_OPTION(cscanDebug, 0) /* debug CSCAN sorting */ +RF_DBG_OPTION(cscanDebug, 0) /* Debug CSCAN sorting. */ RF_DBG_OPTION(dagDebug, 0) RF_DBG_OPTION(debugPrintUseBuffer, 0) RF_DBG_OPTION(degDagDebug, 0) RF_DBG_OPTION(disableAsyncAccs, 0) RF_DBG_OPTION(diskDebug, 0) -RF_DBG_OPTION(enableAtomicRMW, 0) /* this debug var enables locking of +RF_DBG_OPTION(enableAtomicRMW, 0) /* + * This debug var enables locking of * the disk arm during small-write - * operations. Setting this variable + * operations. Setting this variable * to anything other than 0 will - * result in deadlock. (wvcii) */ + * result in deadlock. (wvcii) + */ RF_DBG_OPTION(engineDebug, 0) -RF_DBG_OPTION(fifoDebug, 0) /* debug fifo queueing */ +RF_DBG_OPTION(fifoDebug, 0) /* Debug fifo queueing. */ RF_DBG_OPTION(floatingRbufDebug, 0) RF_DBG_OPTION(forceHeadSepLimit, -1) -RF_DBG_OPTION(forceNumFloatingReconBufs, -1) /* wire down number of - * extra recon buffers - * to use */ -RF_DBG_OPTION(keepAccTotals, 0) /* turn on keep_acc_totals */ +RF_DBG_OPTION(forceNumFloatingReconBufs, -1) /* + * Wire down number of extra + * recon buffers to use. + */ +RF_DBG_OPTION(keepAccTotals, 0) /* Turn on keep_acc_totals. */ RF_DBG_OPTION(lockTableSize, RF_DEFAULT_LOCK_TABLE_SIZE) RF_DBG_OPTION(mapDebug, 0) RF_DBG_OPTION(maxNumTraces, -1) @@ -62,44 +66,55 @@ RF_DBG_OPTION(maxNumTraces, -1) RF_DBG_OPTION(memChunkDebug, 0) RF_DBG_OPTION(memDebug, 0) RF_DBG_OPTION(memDebugAddress, 0) -RF_DBG_OPTION(numBufsToAccumulate, 1) /* number of buffers to - * accumulate before doing XOR */ +RF_DBG_OPTION(numBufsToAccumulate, 1) /* + * Number of buffers to accumulate + * before doing XOR. + */ RF_DBG_OPTION(prReconSched, 0) RF_DBG_OPTION(printDAGsDebug, 0) RF_DBG_OPTION(printStatesDebug, 0) -RF_DBG_OPTION(protectedSectors, 64L) /* # of sectors at start of - * disk to exclude from RAID - * address space */ +RF_DBG_OPTION(protectedSectors, 64L) /* + * # of sectors at start of disk to + * exclude from RAID address space. + */ RF_DBG_OPTION(pssDebug, 0) RF_DBG_OPTION(queueDebug, 0) RF_DBG_OPTION(quiesceDebug, 0) -RF_DBG_OPTION(raidSectorOffset, 0) /* added to all incoming sectors to - * debug alignment problems */ +RF_DBG_OPTION(raidSectorOffset, 0) /* + * Added to all incoming sectors to + * debug alignment problems. + */ RF_DBG_OPTION(reconDebug, 0) RF_DBG_OPTION(reconbufferDebug, 0) -RF_DBG_OPTION(scanDebug, 0) /* debug SCAN sorting */ -RF_DBG_OPTION(showXorCallCounts, 0) /* show n-way Xor call counts */ -RF_DBG_OPTION(shutdownDebug, 0) /* show shutdown calls */ +RF_DBG_OPTION(scanDebug, 0) /* Debug SCAN sorting. */ +RF_DBG_OPTION(showXorCallCounts, 0) /* Show n-way Xor call counts. */ +RF_DBG_OPTION(shutdownDebug, 0) /* Show shutdown calls. */ RF_DBG_OPTION(sizePercentage, 100) -RF_DBG_OPTION(sstfDebug, 0) /* turn on debugging info for sstf queueing */ +RF_DBG_OPTION(sstfDebug, 0) /* + * Turn on debugging info for sstf + * queueing. + */ RF_DBG_OPTION(stripeLockDebug, 0) RF_DBG_OPTION(suppressLocksAndLargeWrites, 0) RF_DBG_OPTION(suppressTraceDelays, 0) RF_DBG_OPTION(useMemChunks, 1) RF_DBG_OPTION(validateDAGDebug, 0) -RF_DBG_OPTION(validateVisitedDebug, 1) /* XXX turn to zero by - * default? */ +RF_DBG_OPTION(validateVisitedDebug, 1) /* XXX Turn to zero by default ? */ RF_DBG_OPTION(verifyParityDebug, 0) -RF_DBG_OPTION(debugKernelAccess, 0) /* DoAccessKernel debugging */ +RF_DBG_OPTION(debugKernelAccess, 0) /* DoAccessKernel debugging. */ -#if RF_INCLUDE_PARITYLOGGING > 0 +#if RF_INCLUDE_PARITYLOGGING > 0 RF_DBG_OPTION(forceParityLogReint, 0) -RF_DBG_OPTION(numParityRegions, 0) /* number of regions in the array */ +RF_DBG_OPTION(numParityRegions, 0) /* Number of regions in the array. */ RF_DBG_OPTION(numReintegrationThreads, 1) -RF_DBG_OPTION(parityLogDebug, 0) /* if nonzero, enables debugging of - * parity logging */ -RF_DBG_OPTION(totalInCoreLogCapacity, 1024 * 1024) /* target bytes +RF_DBG_OPTION(parityLogDebug, 0) /* + * If nonzero, enables debugging of + * parity logging. + */ +RF_DBG_OPTION(totalInCoreLogCapacity, 1024 * 1024) /* + * Target bytes * available for in-core - * logs */ -#endif /* RF_INCLUDE_PARITYLOGGING > 0 */ + * logs. + */ +#endif /* RF_INCLUDE_PARITYLOGGING > 0 */ |