Skip to content
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

Bugfix/nvme volume expansion #64

Merged
merged 2 commits into from
Mar 3, 2022
Merged

Conversation

harshitap26
Copy link
Contributor

Description

PR for the bugfix on NVMe Volume Expansion.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#158

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Backward compatibility is not broken

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • Tested on linux environment with nvme library installed
  • NVMe Volume Expansion works fine

image
image

for _, device := range devMnt.DeviceNames {
devicePath := sysBlock + device
err = s.Fs.GetUtil().DeviceRescan(context.Background(), devicePath)
if err != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you remove some extra lines here.

Copy link
Contributor Author

@harshitap26 harshitap26 Mar 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prablr79 only the if condition has been added to the previous code (if s.useFC || s.useISCSI )

@harshitap26 harshitap26 requested a review from prablr79 March 2, 2022 15:48
@francis-nijay francis-nijay merged commit 9102846 into main Mar 3, 2022
@harishp8889 harishp8889 deleted the bugfix/nvme-volume-expansion branch March 8, 2022 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants