Module Name: src
Committed By: jdolecek
Date: Sat Oct 14 13:20:32 UTC 2017
Modified Files:
src/sys/dev/ata: wd.c
Log Message:
do not use the NCQ priority by default; seems it negatively affects
performance at least with some drives, so this needs better understood first
To generate a diff of this commit:
cvs rdiff -u -r1.431 -r1.432 src/sys/dev/ata/wd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ata/wd.c
diff -u src/sys/dev/ata/wd.c:1.431 src/sys/dev/ata/wd.c:1.432
--- src/sys/dev/ata/wd.c:1.431 Sat Oct 14 13:15:14 2017
+++ src/sys/dev/ata/wd.c Sat Oct 14 13:20:32 2017
@@ -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 @@ wd_sysctl_attach(struct wd_softc *wd)
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"),