Project

General

Profile

Actions

Bug #12078

closed

loader: rewrite zfs vdev initialization

Added by Toomas Soome almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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.

FreeBSD issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241118

Actions

Also available in: Atom PDF