Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/raidframe Pullup revision 1.93.



details:   https://anonhg.NetBSD.org/src/rev/34f2f7062d49
branches:  netbsd-1-5
changeset: 488518:34f2f7062d49
user:      oster <oster%NetBSD.org@localhost>
date:      Fri Jul 14 17:06:45 2000 +0000

description:
Pullup revision 1.93.
Fix the status reporting for copybacks.  Thanks to Hubert Feyrer for
reporting the problem.
Approved by: thorpej

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r a5898dc3253f -r 34f2f7062d49 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Fri Jul 14 16:48:12 2000 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Fri Jul 14 17:06:45 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.92 2000/06/04 02:16:05 oster Exp $        */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.92.2.1 2000/07/14 17:06:45 oster Exp $    */
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -1351,10 +1351,11 @@
                return (0);
 
        case RAIDFRAME_CHECK_COPYBACK_STATUS_EXT:
+               progressInfoPtr = (RF_ProgressInfo_t **) data;
                if (raidPtr->copyback_in_progress == 1) {
                        progressInfo.total = raidPtr->Layout.numStripe;
                        progressInfo.completed = 
-                               raidPtr->parity_rewrite_stripes_done;
+                               raidPtr->copyback_stripes_done;
                        progressInfo.remaining = progressInfo.total -
                                progressInfo.completed;
                } else {



Home | Main Index | Thread Index | Old Index