Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ata do not use the NCQ priority by default; seems it...
details: https://anonhg.NetBSD.org/src/rev/5ae82ae9c0cc
branches: trunk
changeset: 827105:5ae82ae9c0cc
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sat Oct 14 13:20:32 2017 +0000
description:
do not use the NCQ priority by default; seems it negatively affects
performance at least with some drives, so this needs better understood first
diffstat:
sys/dev/ata/wd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 097a58848856 -r 5ae82ae9c0cc sys/dev/ata/wd.c
--- a/sys/dev/ata/wd.c Sat Oct 14 13:15:14 2017 +0000
+++ b/sys/dev/ata/wd.c Sat Oct 14 13:20:32 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wd.c,v 1.431 2017/10/14 13:15:14 jdolecek Exp $ */
+/* $NetBSD: wd.c,v 1.432 2017/10/14 13:20:32 jdolecek Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.431 2017/10/14 13:15:14 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.432 2017/10/14 13:20:32 jdolecek Exp $");
#include "opt_ata.h"
#include "opt_wd.h"
@@ -2362,7 +2362,7 @@
return;
}
- wd->drv_ncq_prio = true;
+ wd->drv_ncq_prio = false;
if ((error = sysctl_createv(&wd->nodelog, 0, NULL, NULL,
CTLFLAG_READWRITE, CTLTYPE_BOOL, "use_ncq_prio",
SYSCTL_DESCR("use NCQ PRIORITY if supported"),
Home |
Main Index |
Thread Index |
Old Index