Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe Now that we have the information available...



details:   https://anonhg.NetBSD.org/src/rev/06c203636c54
branches:  trunk
changeset: 482862:06c203636c54
user:      oster <oster%NetBSD.org@localhost>
date:      Thu Feb 24 02:55:05 2000 +0000

description:
Now that we have the information available, use the general maxOutstanding
value for the RAID set, rather than looking at Queue[0][0] (which may not
exist).

diffstat:

 sys/dev/raidframe/rf_disks.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 58e2797048fe -r 06c203636c54 sys/dev/raidframe/rf_disks.c
--- a/sys/dev/raidframe/rf_disks.c      Thu Feb 24 01:23:05 2000 +0000
+++ b/sys/dev/raidframe/rf_disks.c      Thu Feb 24 02:55:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_disks.c,v 1.17 2000/02/24 01:22:32 oster Exp $      */
+/*     $NetBSD: rf_disks.c,v 1.18 2000/02/24 02:55:05 oster Exp $      */
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -1030,7 +1030,7 @@
                                 raidPtr->Queues[0][0].qPtr, /* XXX */
                                 raidPtr->sectorsPerDisk,
                                 raidPtr->Disks[0][raidPtr->numCol + spare_number].dev,
-                                raidPtr->Queues[0][0].maxOutstanding, /* XXX */
+                                raidPtr->maxOutstanding,
                                 &raidPtr->shutdownList,
                                 raidPtr->cleanupList);
                                 



Home | Main Index | Thread Index | Old Index