-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Sync AUX label on import #15817
Sync AUX label on import #15817
Conversation
zfs-linux / functional (part2) appears to be failing on CI. Will check what is the issue. |
8b0e4a2
to
0ecb114
Compare
0ecb114
to
9c6dadf
Compare
9c6dadf
to
2b91569
Compare
The updated commit resolves the CI test failures that were occurring due to this patch. Additionally, it has been rebased with the master. Some 20.04 tests are failing, but they are unrelated to this patch. For example, similar failures can be seen on other PR as well: zfs-2.2.3 patchset Actions. These failures on the recent PRs appear to be persistent whenever the 20.04 tests are run on the 20240218.1.0 image runner. |
@tonyhutter - It would be nice if you could take a look at this PR. I just rebased it with the latest master today. |
Looks like everything is passing except Centos 8:
I'm going to manually re-run that test to make sure it's not a red herring. |
Spare and l2cache vdev labels are not updated during import. Therefore, if disk paths are updated between pool export and import, the AUX label still shows the old paths. This patch syncs the AUX label during import to show the correct path information. Signed-off-by: Ameer Hamza <[email protected]>
Rebased with the master branch for CI rerun. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I'll get this merged once the CI finishes with it. Thanks for updating this and sorry about the delay.
Spare and l2cache vdev labels are not updated during import. Therefore, if disk paths are updated between pool export and import, the AUX label still shows the old paths. This patch syncs the AUX label during import to show the correct path information. Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Umer Saleem <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Ameer Hamza <[email protected]> Closes openzfs#15817
Spare and l2cache vdev labels are not updated during import. Therefore, if disk paths are updated between pool export and import, the AUX label still shows the old paths. This patch syncs the AUX label during import to show the correct path information.
How Has This Been Tested?
Made changes to disk paths between pool export and import, and verified that the latest AUX labels are correctly shown by zdb:
Types of changes
Checklist:
Signed-off-by
.