Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2016 15:30:11 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308049 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201610281530.u9SFUBER096832@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri Oct 28 15:30:10 2016
New Revision: 308049
URL: https://svnweb.freebsd.org/changeset/base/308049

Log:
  Improve few debugging log messages.

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c	Fri Oct 28 15:20:53 2016	(r308048)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c	Fri Oct 28 15:30:10 2016	(r308049)
@@ -223,7 +223,7 @@ vdev_geom_attach(struct g_provider *pp, 
 		}
 		error = g_access(cp, 1, 0, 1);
 		if (error != 0) {
-			ZFS_LOG(1, "%s(%d): g_access failed: %d\n", __func__,
+			ZFS_LOG(1, "%s(%d): g_access failed: %d", __func__,
 			       __LINE__, error);
 			vdev_geom_detach(cp, B_FALSE);
 			return (NULL);
@@ -293,7 +293,7 @@ vdev_geom_detach(struct g_consumer *cp, 
 
 	g_topology_assert();
 
-	ZFS_LOG(1, "Detaching consumer. Provider %s.",
+	ZFS_LOG(1, "Detaching from %s.",
 	    cp->provider && cp->provider->name ? cp->provider->name : "NULL");
 
 	vd = cp->private;
@@ -307,7 +307,7 @@ vdev_geom_detach(struct g_consumer *cp, 
 		if (cp->acw > 0)
 			g_access(cp, 0, -cp->acw, 0);
 		if (cp->provider != NULL) {
-			ZFS_LOG(1, "Destroying consumer to %s.",
+			ZFS_LOG(1, "Destroying consumer for %s.",
 			    cp->provider->name ? cp->provider->name : "NULL");
 			g_detach(cp);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610281530.u9SFUBER096832>