diff options
author | ae <ae@FreeBSD.org> | 2014-05-26 07:04:30 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2014-05-26 07:04:30 +0000 |
commit | b0a39c9645076e947af75d8a175e3963fdd21136 (patch) | |
tree | a231d653e7dc8bb07ea4b241a005e7ab394cbf6e /sys/geom | |
parent | 7d6d803f86e6e88e96afe51821f7e437b117768e (diff) | |
download | FreeBSD-src-b0a39c9645076e947af75d8a175e3963fdd21136.zip FreeBSD-src-b0a39c9645076e947af75d8a175e3963fdd21136.tar.gz |
MFC r266445:
Add a topology trace to the g_spoil_event.
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_subr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index 90410c7..7d2c459 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -1064,6 +1064,8 @@ g_spoil_event(void *arg, int flag) return; pp = arg; G_VALID_PROVIDER(pp); + g_trace(G_T_TOPOLOGY, "%s %p(%s:%s:%s)", __func__, pp, + pp->geom->class->name, pp->geom->name, pp->name); for (cp = LIST_FIRST(&pp->consumers); cp != NULL; cp = cp2) { cp2 = LIST_NEXT(cp, consumers); if ((cp->flags & G_CF_SPOILED) == 0) |