loader zfs should check all labels
The current loader code does read pool data only from first label on disk. While in general it should be enough, still there is an chance we will hit disk issue or missing updates on label.
The first take on issue is https://www.illumos.org/rb/r/250/
For test and verification, I had debug printouts to verify the txg numbers on all 4 label instances, also for UB scan - those printfs are removed from patch posted in reviewboard.
Note there is also parallel work at fbsd side, and using slightly different approach: https://reviews.freebsd.org/D8464.
Updated by Electric Monk over 6 years ago
- Status changed from New to Closed
- % Done changed from 80 to 100
commit edb35047b6b720980b6de7117a950b94ae288202 Author: Toomas Soome <email@example.com> Date: 2017-04-05T04:23:47.000Z 7540 loader zfs should check all labels Reviewed by: Andriy Gapon <firstname.lastname@example.org> Reviewed by: Paul Dagnelie <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>