]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r212382,r212383,r212384,r212387:
authorpjd <pjd@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 18 Oct 2010 09:26:39 +0000 (09:26 +0000)
committerpjd <pjd@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 18 Oct 2010 09:26:39 +0000 (09:26 +0000)
commit3d1b3576cdcfe86f219b2076fa1508e431d566e9
treedfb1914358493c4baf0b07a097ec69d37cb66564
parentd41902c55294e6f011fa3105b060155c0256c467
MFC r212382,r212383,r212384,r212387:

r212382:

Remove duplicated code.

r212383:

Allow to boot from a pool within which replacing is in progress.
Before the change it wasn't possible and the following error was printed:

ZFS: can only boot from disk, mirror or raidz vdevs

Now if the original vdev (the one we are replacing) is still present we will
read from it, but if it is not present we won't read from the new vdev, as it
might not have enough valid data yet.

r212384:

Ignore log vdevs.

r212387:

Remove empty lines committed by accident.

git-svn-id: svn://svn.freebsd.org/base/stable/8@214014 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/zfs/zfsimpl.c