From owner-cvs-src-old@FreeBSD.ORG Tue Dec 14 15:37:07 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FABD106564A for ; Tue, 14 Dec 2010 15:37:07 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 71C298FC29 for ; Tue, 14 Dec 2010 15:37:07 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBEFb7uN006099 for ; Tue, 14 Dec 2010 15:37:07 GMT (envelope-from mm@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBEFb7dw006098 for cvs-src-old@freebsd.org; Tue, 14 Dec 2010 15:37:07 GMT (envelope-from mm@repoman.freebsd.org) Message-Id: <201012141537.oBEFb7dw006098@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mm@repoman.freebsd.org using -f From: Martin Matuska Date: Tue, 14 Dec 2010 15:36:47 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs spa.c zfs_ioctl.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2010 15:37:07 -0000 mm 2010-12-14 15:36:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/cddl/contrib/opensolaris/uts/common/fs/zfs spa.c zfs_ioctl.c Log: SVN rev 216436 on 2010-12-14 15:36:47Z by mm MFC r208683, r210999, r212385: MFC r208683 (pjd): Fix a bug where resilver is not started automatically on pool import or load. If disk was missing on pool load or import and on next pool load or import it was present, resilver wasn't started automatically and ZFS reported all disks as ONLINE and healthy. Then, when another disk died, pool became unaccessible, because if it was 2-way mirror or RAIDZ1 two vdevs were out of sync. To fix the problem, start resilver automatically on pool load or import. Obtained from: OpenSolaris MFC r210999 (pjd): In FreeBSD we use 'jailed' property. MFC r212385 (pjd): On FreeBSD we can log from pool that have multiple top-level vdevs or log vdevs, so don't deny adding new vdevs if bootfs property is set. Approved by: re (kib), pjd, delphij (mentor) Revision Changes Path 1.9.2.8 +6 -0 src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c 1.12.2.11 +7 -1 src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c