Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Revert default strategy change from 1.298 ...
details: https://anonhg.NetBSD.org/src/rev/bced540fd2a1
branches: trunk
changeset: 329114:bced540fd2a1
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Thu May 08 20:36:15 2014 +0000
description:
Revert default strategy change from 1.298 (which has since moved).
Reverting to "fcfs" nearly doubles the speed of sequential reads from
a level-1 RAID (previously using the default of "priocscan").
Needs pullup via patch for netbsd-6.
diffstat:
sys/dev/raidframe/rf_netbsdkintf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fb83a8c9c0b7 -r bced540fd2a1 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c Thu May 08 13:58:34 2014 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c Thu May 08 20:36:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.308 2014/04/03 18:55:26 christos Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.309 2014/05/08 20:36:15 jakllsch Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.308 2014/04/03 18:55:26 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.309 2014/05/08 20:36:15 jakllsch Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -343,7 +343,7 @@
return NULL;
}
sc->sc_unit = unit;
- bufq_alloc(&sc->buf_queue, BUFQ_DISK_DEFAULT_STRAT, BUFQ_SORT_RAWBLOCK);
+ bufq_alloc(&sc->buf_queue, "fcfs", BUFQ_SORT_RAWBLOCK);
return sc;
}
Home |
Main Index |
Thread Index |
Old Index