svn commit: r240629 - head/sys/geom
Andriy Gapon
avg at FreeBSD.org
Tue Sep 18 07:57:35 UTC 2012
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;
More information about the svn-src-head
mailing list