-
Notifications
You must be signed in to change notification settings - Fork 792
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
Implement device path discovery for NVMe support #231
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leakingtapan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cc @dkoshkin @bertinatto |
Pull Request Test Coverage Report for Build 498
💛 - Coveralls |
pkg/driver/node.go
Outdated
|
||
// findDevicePath finds and verifies the path of device | ||
// if the device is not nvme device, return the path | ||
// if the device is nvme device, returns the actual device path |
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.
What does "actual device path" mean vs "the path of device"?
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.
clarified the docs
pkg/driver/node.go
Outdated
if err != nil { | ||
if os.IsNotExist(err) { | ||
klog.V(5).Infof("nvme path %q not found", p) | ||
return "", nil |
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.
Should this return an error? The condition of ""
isn't checked in the previous functions.
98dad7a
to
f14829f
Compare
/test pull-aws-ebs-csi-driver-unit |
/test pull-aws-ebs-csi-driver-e2e-single-az |
@dkoshkin if no other concerns, Im going to override the coverage drop and merge the change |
/lgtm |
Is this a bug fix or adding new feature?
Add support for nvme on Nitro instance
Fixes: #178
What testing is done?
Manually tested following scenario: