svn commit: r266445 - head/sys/geom

Andrey V. Elsukov ae at FreeBSD.org
Mon May 19 16:08:16 UTC 2014


Author: ae
Date: Mon May 19 16:08:15 2014
New Revision: 266445
URL: http://svnweb.freebsd.org/changeset/base/266445

Log:
  Add a topology trace to the g_spoil_event.
  
  MFC after:	1 week

Modified:
  head/sys/geom/geom_subr.c

Modified: head/sys/geom/geom_subr.c
==============================================================================
--- head/sys/geom/geom_subr.c	Mon May 19 16:05:42 2014	(r266444)
+++ head/sys/geom/geom_subr.c	Mon May 19 16:08:15 2014	(r266445)
@@ -1071,6 +1071,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)


More information about the svn-src-head mailing list