summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2014-05-26 07:04:30 +0000
committerae <ae@FreeBSD.org>2014-05-26 07:04:30 +0000
commitb0a39c9645076e947af75d8a175e3963fdd21136 (patch)
treea231d653e7dc8bb07ea4b241a005e7ab394cbf6e /sys/geom
parent7d6d803f86e6e88e96afe51821f7e437b117768e (diff)
downloadFreeBSD-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.c2
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)
OpenPOWER on IntegriCloud