Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2012 07:57:35 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240629 - head/sys/geom
Message-ID:  <201209180757.q8I7vZnF052885@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Tue Sep 18 07:57:34 2012
New Revision: 240629
URL: http://svn.freebsd.org/changeset/base/240629

Log:
  g_disk_flushcache definitely should not be traced under G_T_TOPOLOGY
  
  ... use G_T_BIO instead
  
  MFC after:	1 week

Modified:
  head/sys/geom/geom_disk.c

Modified: head/sys/geom/geom_disk.c
==============================================================================
--- head/sys/geom/geom_disk.c	Tue Sep 18 02:33:23 2012	(r240628)
+++ head/sys/geom/geom_disk.c	Tue Sep 18 07:57:34 2012	(r240629)
@@ -392,7 +392,7 @@ g_disk_start(struct bio *bp)
 			error = ENOIOCTL;
 		break;
 	case BIO_FLUSH:
-		g_trace(G_T_TOPOLOGY, "g_disk_flushcache(%s)",
+		g_trace(G_T_BIO, "g_disk_flushcache(%s)",
 		    bp->bio_to->name);
 		if (!(dp->d_flags & DISKFLAG_CANFLUSHCACHE)) {
 			error = EOPNOTSUPP;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209180757.q8I7vZnF052885>