Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen g/c no longer used xbdi_same_page and xbdi_...



details:   https://anonhg.NetBSD.org/src/rev/11c97284ef0a
branches:  trunk
changeset: 1009437:11c97284ef0a
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu Apr 23 07:39:07 2020 +0000

description:
g/c no longer used xbdi_same_page and xbdi_lastfragio_time

diffstat:

 sys/arch/xen/xen/xbdback_xenbus.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (31 lines):

diff -r bb048000409d -r 11c97284ef0a sys/arch/xen/xen/xbdback_xenbus.c
--- a/sys/arch/xen/xen/xbdback_xenbus.c Thu Apr 23 07:24:40 2020 +0000
+++ b/sys/arch/xen/xen/xbdback_xenbus.c Thu Apr 23 07:39:07 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xbdback_xenbus.c,v 1.87 2020/04/23 07:24:40 jdolecek Exp $      */
+/*      $NetBSD: xbdback_xenbus.c,v 1.88 2020/04/23 07:39:07 jdolecek Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.87 2020/04/23 07:24:40 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.88 2020/04/23 07:39:07 jdolecek Exp $");
 
 #include <sys/atomic.h>
 #include <sys/buf.h>
@@ -186,12 +186,8 @@
        bus_dmamap_t xbdi_seg_dmamap;
        grant_ref_t xbdi_in_gntref;
        /* other state */
-       int xbdi_same_page; /* are we merging two segments on the same page? */
        uint xbdi_pendingreqs; /* number of I/O in fly */
        struct timeval xbdi_lasterr_time;    /* error time tracking */
-#ifdef DEBUG
-       struct timeval xbdi_lastfragio_time; /* fragmented I/O tracking */
-#endif
 };
 /* Manipulation of the above reference count. */
 #define xbdi_get(xbdip) atomic_inc_uint(&(xbdip)->xbdi_refcnt)



Home | Main Index | Thread Index | Old Index