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

zpool: Backport dryrun fixes (#11167 and #11311) #11442

Merged

Conversation

AttilaFueloep
Copy link
Contributor

Motivation and Context

Since these are bug-fixes they should be included in an 2.0 dot release.

Description

Backport #11167 and #11311.

How Has This Been Tested?

Verified that the 2.0.2 staging branch builds fine with both commits applied.

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:

`zpool create -n` fails to list cache and spare vdevs.
`zpool add -n` fails to list spare devices.
`zpool split -n` fails to list `special` and `dedup` labels.
`zpool add -n` and `zpool split -n` shouldn't list hole devices.

Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Attila Fülöp <[email protected]>
Closes openzfs#11122
Closes openzfs#11167
Follow up fix for 0cb40fa. Remove unused variables, don't source
unused libs and add missed cleanup.

Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Attila Fülöp <[email protected]>
Closes openzfs#11311
@behlendorf behlendorf added the Status: Accepted Ready to integrate (reviewed, tested) label Jan 8, 2021
@behlendorf behlendorf merged commit acb39fc into openzfs:zfs-2.0.2-staging Jan 8, 2021
@AttilaFueloep AttilaFueloep deleted the zfs-backport-11167 branch January 9, 2021 16:13
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