Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe The 'reconDesc' argument to rf_SignalQuies...



details:   https://anonhg.NetBSD.org/src/rev/0bd670aeec3a
branches:  trunk
changeset: 536868:0bd670aeec3a
user:      oster <oster%NetBSD.org@localhost>
date:      Mon Sep 23 04:14:20 2002 +0000

description:
The 'reconDesc' argument to rf_SignalQuiescenceLock() is a holdover from
simulation code. *poof*  Thanks to Simon B.

diffstat:

 sys/dev/raidframe/rf_driver.c |  7 +++----
 sys/dev/raidframe/rf_driver.h |  5 ++---
 sys/dev/raidframe/rf_states.c |  6 +++---
 3 files changed, 8 insertions(+), 10 deletions(-)

diffs (75 lines):

diff -r 794af4cd667e -r 0bd670aeec3a sys/dev/raidframe/rf_driver.c
--- a/sys/dev/raidframe/rf_driver.c     Mon Sep 23 04:02:29 2002 +0000
+++ b/sys/dev/raidframe/rf_driver.c     Mon Sep 23 04:14:20 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_driver.c,v 1.62 2002/09/21 01:00:43 oster Exp $     */
+/*     $NetBSD: rf_driver.c,v 1.63 2002/09/23 04:14:20 oster Exp $     */
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -73,7 +73,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.62 2002/09/21 01:00:43 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.63 2002/09/23 04:14:20 oster Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -731,9 +731,8 @@
  * access_suspend_mutex should be locked upon calling this
  */
 void 
-rf_SignalQuiescenceLock(raidPtr, reconDesc)
+rf_SignalQuiescenceLock(raidPtr)
        RF_Raid_t *raidPtr;
-       RF_RaidReconDesc_t *reconDesc;
 {
 #if RF_DEBUG_QUIESCE
        if (rf_quiesceDebug) {
diff -r 794af4cd667e -r 0bd670aeec3a sys/dev/raidframe/rf_driver.h
--- a/sys/dev/raidframe/rf_driver.h     Mon Sep 23 04:02:29 2002 +0000
+++ b/sys/dev/raidframe/rf_driver.h     Mon Sep 23 04:14:20 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_driver.h,v 1.7 2002/01/07 01:58:03 oster Exp $      */
+/*     $NetBSD: rf_driver.h,v 1.8 2002/09/23 04:14:20 oster Exp $      */
 /*
  * rf_driver.h
  */
@@ -61,8 +61,7 @@
 #endif
 int     rf_FailDisk(RF_Raid_t * raidPtr, RF_RowCol_t frow, RF_RowCol_t fcol,
                    int initRecon);
-void    rf_SignalQuiescenceLock(RF_Raid_t * raidPtr, 
-                               RF_RaidReconDesc_t * reconDesc);
+void    rf_SignalQuiescenceLock(RF_Raid_t * raidPtr);
 int     rf_SuspendNewRequestsAndWait(RF_Raid_t * raidPtr);
 void    rf_ResumeNewRequests(RF_Raid_t * raidPtr);
 void    rf_StartThroughputStats(RF_Raid_t * raidPtr);
diff -r 794af4cd667e -r 0bd670aeec3a sys/dev/raidframe/rf_states.c
--- a/sys/dev/raidframe/rf_states.c     Mon Sep 23 04:02:29 2002 +0000
+++ b/sys/dev/raidframe/rf_states.c     Mon Sep 23 04:14:20 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_states.c,v 1.19 2002/09/19 18:54:50 oster Exp $     */
+/*     $NetBSD: rf_states.c,v 1.20 2002/09/23 04:14:20 oster Exp $     */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_states.c,v 1.19 2002/09/19 18:54:50 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_states.c,v 1.20 2002/09/23 04:14:20 oster Exp $");
 
 #include <sys/errno.h>
 
@@ -268,7 +268,7 @@
        RF_LOCK_MUTEX(raidPtr->access_suspend_mutex);
        raidPtr->accs_in_flight--;
        if (raidPtr->accesses_suspended && raidPtr->accs_in_flight == 0) {
-               rf_SignalQuiescenceLock(raidPtr, raidPtr->reconDesc);
+               rf_SignalQuiescenceLock(raidPtr);
        }
        rf_UpdateUserStats(raidPtr, RF_ETIMER_VAL_US(desc->timer), desc->numBlocks);
        RF_UNLOCK_MUTEX(raidPtr->access_suspend_mutex);



Home | Main Index | Thread Index | Old Index