Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/raidframe Fix typo + cleanup a bit.



details:   https://anonhg.NetBSD.org/src/rev/de9d48d4fe64
branches:  trunk
changeset: 480543:de9d48d4fe64
user:      oster <oster%NetBSD.org@localhost>
date:      Sat Jan 15 01:57:57 2000 +0000

description:
Fix typo + cleanup a bit.

diffstat:

 sys/dev/raidframe/rf_paritylogDiskMgr.c |  15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 039dd1e250e5 -r de9d48d4fe64 sys/dev/raidframe/rf_paritylogDiskMgr.c
--- a/sys/dev/raidframe/rf_paritylogDiskMgr.c   Sat Jan 15 01:39:54 2000 +0000
+++ b/sys/dev/raidframe/rf_paritylogDiskMgr.c   Sat Jan 15 01:57:57 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_paritylogDiskMgr.c,v 1.9 2000/01/14 04:03:52 oster Exp $    */
+/*     $NetBSD: rf_paritylogDiskMgr.c,v 1.10 2000/01/15 01:57:57 oster Exp $   */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -73,7 +73,7 @@
                        pool->availBuffersIndex = 0;
                RF_UNLOCK_MUTEX(pool->mutex);
        } else {
-               RF_PANIC();     /* should never happen in currect config,
+               RF_PANIC();     /* should never happen in correct config,
                                 * single reint */
                RF_WAIT_COND(pool->cond, pool->mutex);
        }
@@ -382,9 +382,14 @@
        RF_PhysDiskAddr_t *rrd_pda, *prd_pda, *pwr_pda;
        caddr_t parityBuffer, regionBuffer = NULL;
 
-       /* Reintegrate a region (regionID). 1. acquire region and parity
-        * buffers 2. read log from disk 3. read parity from disk 4. apply log
-        * to parity 5. apply core log to parity 6. write new parity to disk
+       /* Reintegrate a region (regionID). 
+        *
+        * 1. acquire region and parity buffers 
+        * 2. read log from disk 
+        * 3. read parity from disk 
+        * 4. apply log to parity 
+        * 5. apply core log to parity 
+        * 6. write new parity to disk
         * 
         * BLOCKING */
 



Home | Main Index | Thread Index | Old Index