summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2012-09-18 07:57:34 +0000
committeravg <avg@FreeBSD.org>2012-09-18 07:57:34 +0000
commit975f35c7e7eb6d83251cecc7f1bf72e52c2db24d (patch)
treed013a57ad9c3162374a0617628476ed2fbe779be /sys/geom
parent563984a874a9e7dd23e1f1819bd8c07c3910a639 (diff)
downloadFreeBSD-src-975f35c7e7eb6d83251cecc7f1bf72e52c2db24d.zip
FreeBSD-src-975f35c7e7eb6d83251cecc7f1bf72e52c2db24d.tar.gz
g_disk_flushcache definitely should not be traced under G_T_TOPOLOGY
... use G_T_BIO instead MFC after: 1 week
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c
index 445055a..5879b79 100644
--- a/sys/geom/geom_disk.c
+++ b/sys/geom/geom_disk.c
@@ -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;
OpenPOWER on IntegriCloud