freebsd-dev/stand/libsa/zfs
Toomas Soome 3c2db0ef43 loader: rewrite zfs vdev initialization
In some cases the pool discovery will get stuck in infinite loop while setting
up the vdev children.

To fix, we split the vdev setup into two parts, first we create vdevs based on
configuration we do get from pool label, then, we process pool config from MOS
and update the pool config if needed.

Testing done: confirm previously hung loader is not hung any more.

MFC after:	1 week
2019-12-15 21:52:40 +00:00
..
devicename_stubs.c
libzfs.h Eliminate duplicated code and struct member definitions in the handoff 2018-12-03 03:58:30 +00:00
Makefile.inc Remove duplicate lz4 implementations 2019-11-02 12:28:04 +00:00
zfs.c loader: clean up the noise around log device 2019-11-05 18:35:13 +00:00
zfsimpl.c loader: rewrite zfs vdev initialization 2019-12-15 21:52:40 +00:00