K 10 svn:author V 2 mm K 8 svn:date V 27 2010-12-14T15:36:47.989531Z K 7 svn:log V 797 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) END