-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filesystem: arbitrary disk select more consistent
If two disks of the same size went to the disk matchers with the default "largest" match, the one we would choose would be based on whatever order in python they ended up, and across installs this means that we could select arbitrarily among disks of a matching size. Add sort criteria based on various unique identifiers. Make it work for other disk-like devices, though the main target is disks and raids because that's what can go to the matcher system.
- Loading branch information
Showing
2 changed files
with
118 additions
and
2 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
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