freebsd-dev/sys/boot/zfs
Pawel Jakub Dawidek c42f230131 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.

MFC after:	2 weeks
2010-09-09 21:18:00 +00:00
..
Makefile MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH (which simplifies some powerpc/powerpc64 ifs) 2010-08-23 01:50:34 +00:00
zfs.c zfs boot: fix error handling in zfs_readdir 2010-05-31 09:06:03 +00:00
zfsimpl.c Allow to boot from a pool within which replacing is in progress. 2010-09-09 21:18:00 +00:00
zfstest.c A simple test harness to help debug problems with the ZFS boot code. 2010-07-30 13:54:15 +00:00