7642 loader: gptzfsboot i386_zfs_probe can hung the boot

Review Request #283 - Created Dec. 4, 2016 and submitted

Information
Toomas Soome
illumos-gate
7642
282
8ae84a4...
Reviewers
general

7642 loader: gptzfsboot i386_zfs_probe can hung the boot

This patch is not about zfs, but about restructuring the disk walk logic. When I did the first version, I was stuck into thinking that we should identify the partition (based on recorded LBA) first and then probe pools starting from boot disk, so the probing code would set the boot pool as list head. So it did result two loops and clumsy probe sequence.

Then I did figure that we really do not two separate loops and all we need is just walk the disk, identify the pools, and have special case for boot disk to check partition LBA and record the pool UUID from the partition (if there is one).


  

Issues

  • 0
  • 3
  • 0
  • 3
Description From Last Updated
Toomas Soome
Hans Rosenfeld
Toomas Soome
Hans Rosenfeld
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...