svn commit: r266679 - stable/10/sys/geom

Andrey V. Elsukov ae at FreeBSD.org
Mon May 26 07:04:30 UTC 2014


Author: ae
Date: Mon May 26 07:04:30 2014
New Revision: 266679
URL: http://svnweb.freebsd.org/changeset/base/266679

Log:
  MFC r266445:
    Add a topology trace to the g_spoil_event.

Modified:
  stable/10/sys/geom/geom_subr.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/geom/geom_subr.c
==============================================================================
--- stable/10/sys/geom/geom_subr.c	Mon May 26 07:02:03 2014	(r266678)
+++ stable/10/sys/geom/geom_subr.c	Mon May 26 07:04:30 2014	(r266679)
@@ -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)


More information about the svn-src-stable mailing list