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

Cleanup Raid-Z Typo fixes #13834

Merged
merged 1 commit into from
Sep 6, 2022
Merged

Cleanup Raid-Z Typo fixes #13834

merged 1 commit into from
Sep 6, 2022

Conversation

ryao
Copy link
Contributor

@ryao ryao commented Sep 2, 2022

Motivation and Context

I found these typos earlier in the year when investigating the possibility of making raid-z faster on architectures that do not have optimized assembly. They remained in a local branch until now. I found them last night and decided to send the patch.

Description

It is just two fixes to comments and replacement of two constants with preprocessor definitions that mean the same thing. The preprocessor definitions should have been used in the first place to make the code more readable.

How Has This Been Tested?

No testing was done. It is not necessary for this kind of cleanup.

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)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

Signed-off-by: Richard Yao <[email protected]>
@behlendorf behlendorf added the Status: Accepted Ready to integrate (reviewed, tested) label Sep 2, 2022
@behlendorf behlendorf merged commit 11df48a into openzfs:master Sep 6, 2022
beren12 pushed a commit to beren12/zfs that referenced this pull request Sep 19, 2022
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Closes openzfs#13834
datacore-rm pushed a commit to DataCoreSoftware/openzfs that referenced this pull request Oct 4, 2022
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Closes openzfs#13834
datacore-rm pushed a commit to DataCoreSoftware/openzfs that referenced this pull request Oct 13, 2022
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Closes openzfs#13834
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Ready to integrate (reviewed, tested)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants