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

vdev_copy_uberblocks() should use abd_alloc_linear() #6718

Merged
merged 1 commit into from Oct 6, 2017

Conversation

thegreatgazoo
Copy link

The vdev_copy_uberblocks() function should use abd_alloc_linear() to
allocate ub_abd, because abd_to_buf(ub_abd)) is used later.

Signed-off-by: Isaac Huang he.huang@intel.com
Closes #6713

The vdev_copy_uberblocks() function should use abd_alloc_linear() to
allocate ub_abd, because abd_to_buf(ub_abd)) is used later.

Signed-off-by: Isaac Huang <he.huang@intel.com>
Closes openzfs#6713
@behlendorf
Copy link
Contributor

@thegreatgazoo I'll fix the style warning when it's merged.

@behlendorf behlendorf merged commit eea2e24 into openzfs:master Oct 6, 2017
@behlendorf behlendorf added this to PR Needed in 0.7.3 Oct 6, 2017
@thegreatgazoo thegreatgazoo deleted the 6713 branch October 6, 2017 05:14
aerusso pushed a commit to aerusso/zfs that referenced this pull request Oct 11, 2017
The vdev_copy_uberblocks() function should use abd_alloc_linear() to
allocate ub_abd, because abd_to_buf(ub_abd)) is used later.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Isaac Huang <he.huang@intel.com>
Closes openzfs#6718 
Closes openzfs#6713
tonyhutter pushed a commit that referenced this pull request Oct 16, 2017
The vdev_copy_uberblocks() function should use abd_alloc_linear() to
allocate ub_abd, because abd_to_buf(ub_abd)) is used later.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Isaac Huang <he.huang@intel.com>
Closes #6718
Closes #6713
@tonyhutter tonyhutter moved this from PR Needed to Merged to 0.7.3 in 0.7.3 Oct 16, 2017
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

5 participants