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

Explicitly depend on icp module in initramfs hook #6751

Merged
merged 1 commit into from Oct 12, 2017

Conversation

aerusso
Copy link
Contributor

@aerusso aerusso commented Oct 11, 2017

Automatic dependency resolution is unreliable on many systems.
Follow suit with existing code, and explicitly include icp
in module dependencies.

Signed-off-by: Antonio Russo antonio.e.russo@gmail.com

Motivation and Context

BASE_MODULES in the initramfs hooks file claims that dependency
resolution is fragile. If this is true, we should include the required icp
module in this list.

How Has This Been Tested?

I've built a package containing this, and installed it. I don't (yet) have a system close to being zfs on root, so I cannot honestly test this easily.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (a change to man pages or other documentation)

Checklist:

  • My code follows the ZFS on Linux code style requirements.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • All commit messages are properly formatted and contain Signed-off-by.
  • Change has been approved by a ZFS on Linux member.

Automatic dependency resolution is unreliable on many systems.
Follow suit with existing code, and explicitly include icp
in module dependencies.

Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
@behlendorf behlendorf merged commit 085b501 into openzfs:master Oct 12, 2017
@behlendorf behlendorf added this to PR Needed in 0.7.3 Oct 12, 2017
aerusso added a commit to aerusso/zfs that referenced this pull request Oct 12, 2017
Automatic dependency resolution is unreliable on many systems.
Follow suit with existing code, and explicitly include icp
in module dependencies.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
Closes openzfs#6751
tonyhutter pushed a commit that referenced this pull request Oct 16, 2017
Automatic dependency resolution is unreliable on many systems.
Follow suit with existing code, and explicitly include icp
in module dependencies.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
Closes #6751
@tonyhutter tonyhutter moved this from PR Needed to Merged to 0.7.3 in 0.7.3 Oct 16, 2017
@aerusso aerusso deleted the icp-initramfs-hook branch February 12, 2018 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
0.7.3
Merged to 0.7.3
Development

Successfully merging this pull request may close these issues.

None yet

3 participants