Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic change nvme(4) ld to use fcfs as default strategy...



details:   https://anonhg.NetBSD.org/src/rev/8afb5691175f
branches:  trunk
changeset: 817934:8afb5691175f
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Sep 16 15:24:47 2016 +0000

description:
change nvme(4) ld to use fcfs as default strategy to lower i/o processing
overhead and hence lower latency; the sorting doesn't provide any benefit
for SSDs

diffstat:

 sys/dev/ic/ld_nvme.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fb632ab21f43 -r 8afb5691175f sys/dev/ic/ld_nvme.c
--- a/sys/dev/ic/ld_nvme.c      Fri Sep 16 15:20:50 2016 +0000
+++ b/sys/dev/ic/ld_nvme.c      Fri Sep 16 15:24:47 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ld_nvme.c,v 1.2 2016/09/16 15:20:50 jdolecek Exp $     */
+/*     $NetBSD: ld_nvme.c,v 1.3 2016/09/16 15:24:47 jdolecek Exp $     */
 
 /*-
  * Copyright (C) 2016 NONAKA Kimihiro <nonaka%netbsd.org@localhost>
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld_nvme.c,v 1.2 2016/09/16 15:20:50 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld_nvme.c,v 1.3 2016/09/16 15:24:47 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -114,7 +114,7 @@
        ld->sc_dump = ld_nvme_dump;
        ld->sc_flush = ld_nvme_flush;
        ld->sc_flags = LDF_ENABLED;
-       ldattach(ld, BUFQ_DISK_DEFAULT_STRAT);
+       ldattach(ld, "fcfs");
 }
 
 static int



Home | Main Index | Thread Index | Old Index