g_disk_flushcache definitely should not be traced under G_T_TOPOLOGY

... use G_T_BIO instead

MFC after:	1 week
This commit is contained in:
Andriy Gapon 2012-09-18 07:57:34 +00:00
parent 3a99e819f3
commit 85f5b9aa70

View File

@ -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;