diff options
| author | jakllsch <jakllsch@NetBSD.org> | 2014-05-08 20:36:15 +0000 |
|---|---|---|
| committer | jakllsch <jakllsch@NetBSD.org> | 2014-05-08 20:36:15 +0000 |
| commit | 8af65eb02df5fffc794bb4469601fbbe5b39d831 (patch) | |
| tree | 89a5b22884c98f690afefdd69b590af2d203d88b /sys/dev/raidframe | |
| parent | 899508177403ad9695dff363fd8cc78125784e9b (diff) | |
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 (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_netbsdkintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index 87ddc562667..efb5b1124e9 100644 --- a/sys/dev/raidframe/rf_netbsdkintf.c +++ b/sys/dev/raidframe/rf_netbsdkintf.c @@ -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 @@ raidcreate(int unit) { 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; } |
