-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create symbolic links in /dev/disk/by-vdev for NVMe disk devices. #9730
Conversation
@geppi Your commit does not seem to include your "signed-off by" tag, please add it. Also:
No biggies, but those checkboxes are there for a reason ;) |
I made the pull request via the github web-interface. This does not allow to amend the commit message. It looks like I have to do this localy on the command line and then force push the changed commit message to my github repo. I will look into this. |
@geppi functionally this works great, thanks for taking the time to open a PR. If you can simply force update this PR as mentioned above this should be good to go. Before pushing you can locally run |
Codecov Report
@@ Coverage Diff @@
## master #9730 +/- ##
==========================================
+ Coverage 67% 79% +12%
==========================================
Files 338 420 +82
Lines 106419 123654 +17235
==========================================
+ Hits 71086 98003 +26917
+ Misses 35333 25651 -9682
Continue to review full report at Codecov.
|
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.
To be clear: codewise it's great... no worries there :)
The existing rules miss nvme disk devices because of the trailing digits in the KERNEL device name, e.g. nvme0n1. Partitions of nvme disk devices are already properly handled by the existing rule for ENV{DEVTYPE}=="partition". Signed-off-by: Thomas Geppert <geppi@digitx.de>
The existing rules miss nvme disk devices because of the trailing digits in the KERNEL device name, e.g. nvme0n1. Partitions of nvme disk devices are already properly handled by the existing rule for ENV{DEVTYPE}=="partition". Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl> Signed-off-by: Thomas Geppert <geppi@digitx.de> Closes openzfs#9730
The existing rules miss nvme disk devices because of the trailing digits in the KERNEL device name, e.g. nvme0n1. Partitions of nvme disk devices are already properly handled by the existing rule for ENV{DEVTYPE}=="partition". Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl> Signed-off-by: Thomas Geppert <geppi@digitx.de> Closes openzfs#9730
The existing rules miss nvme disk devices because of the trailing digits in the KERNEL device name, e.g. nvme0n1. Partitions of nvme disk devices are already properly handled by the existing rule for ENV{DEVTYPE}=="partition". Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl> Signed-off-by: Thomas Geppert <geppi@digitx.de> Closes #9730
The existing rules miss NVMe disk devices because of the trailing digits in the KERNEL device name, e.g. nvme0n1. The added rule does selectively match the device names of NVMe disk devices.
Partitions of nvme disk devices are already properly handled by the existing rule for ENV{DEVTYPE}=="partition".
Motivation and Context
Running "udevadm trigger" after setting up the /etc/zfs/vdev_id.conf file using device link aliases did create symbolic links in /dev/disk/by-vdev for SATA disks but not for NVMe disk devices.
Description
A udev rule is added to selectively match the device names of NVMe disk devices.
How Has This Been Tested?
Types of changes
Checklist:
Signed-off-by
.