-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Account for spare and L2cache vdevs by skipping the txg for those devices. Removed besting check for find by guid.
- Loading branch information
Showing
1 changed file
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0c6e5cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rottegift OK This should do it. I've tested (lightly) with manual import and cachefile import, with all devices present, all devices renumbered, and with an individual cache device missing. Seems to be working in all cases I've tried.
find_by_guid is now aware of spare / L2cache devices so this should solve the issues we were running into.
When you have a chance, could you build and test this on your end?
0c6e5cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, on it.