Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2014 15:31:37 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r271517 - vendor-sys/illumos/dist/uts/common/fs/zfs
Message-ID:  <201409131531.s8DFVbDi084497@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Sat Sep 13 15:31:37 2014
New Revision: 271517
URL: http://svnweb.freebsd.org/changeset/base/271517

Log:
  5140 message about "%recv could not be opened" is printed when booting after crash
  Reviewed by: Christopher Siden <christopher.siden@delphix.com>
  Reviewed by: George Wilson <george.wilson@delphix.com>
  Reviewed by: Max Grossman <max.grossman@delphix.com>
  Reviewed by: Richard Elling <richard.elling@gmail.com>
  Approved by: Dan McDonald <danmcd@omniti.com>
  Author: Matthew Ahrens <mahrens@delphix.com>
  
  illumos/illumos-gate@22438533bcc131ecebd4c16c699c35e91d321b76

Modified:
  vendor-sys/illumos/dist/uts/common/fs/zfs/zil.c

Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/zil.c
==============================================================================
--- vendor-sys/illumos/dist/uts/common/fs/zfs/zil.c	Sat Sep 13 15:27:46 2014	(r271516)
+++ vendor-sys/illumos/dist/uts/common/fs/zfs/zil.c	Sat Sep 13 15:31:37 2014	(r271517)
@@ -635,7 +635,14 @@ zil_claim(const char *osname, void *txar
 
 	error = dmu_objset_own(osname, DMU_OST_ANY, B_FALSE, FTAG, &os);
 	if (error != 0) {
-		cmn_err(CE_WARN, "can't open objset for %s", osname);
+		/*
+		 * EBUSY indicates that the objset is inconsistent, in which
+		 * case it can not have a ZIL.
+		 */
+		if (error != EBUSY) {
+			cmn_err(CE_WARN, "can't open objset for %s, error %u",
+			    osname, error);
+		}
 		return (0);
 	}
 



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