-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regression - nvme system disk not identified #1951
Address nvme system disk regression, not recognised as attached, by improving the partition regex mechanism initially enhanced in commit acbd6a5 (pr #1946) which created the indicated regression. Summary: - Unit test added to instantiate observed nvme system disk regression and expected behaviour. - Simplify regex match conditional, for root partition identification, so that it again incorporates nvme device names: with root in partition. - Establish conditional partition regex prior to above match. - Enhance existing btrfs-in-partition unit test to catch a regression observed prior to establishing the above conditional regex that affected the 42nd scsi type drive 'sdap' if that drive had a btrfs partition concurrent with an 'sda' root drive name (and the prior regex's were 'or' combined). - Add debug logging of sys partition info inheritance from base device. - Add debug logging of btrfs in partition device skip: we only surface the base device. - Minor cosmetic bracket changes and comment updates. - Added TODO: on future option re base device identification from partition device name.
- Loading branch information
Showing
2 changed files
with
145 additions
and
12 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