-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Document grub2 compatibility updates and test for all feature sets #15505
Conversation
This commit updates zpool-features.7 man page to add newly added zpool features to grub2 compatibility list. Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
That change might be incorrect.
|
Thank you @rincebrain, I was not exactly sure if adding @lundman would you please suggest if removing |
This might be also bad historically even more than there - for example, 0.8 got bookmark_v2 in 0.8.4 (if I recall), so do we want the compatibility setting to not work except for 0.8.4-6? Hm, I'm not actually sure if that's correct any more now. Maybe it went in before 0.8 final release, but I thought there was some caveat about hard requiring it coming later that meant I kept seeing people at the time complaining about the errata 4 message when they didn't get it before... |
zpool_create_features_007_pos only tested for compat-2020 feature set. It would be useful to test for all known features sets. If any additional feature is found enabled that is not present in compatibility list or feature set, it should be caught and reported earlier. This commit also removes encryption from openzfsonosx-1.8.1 compatibility list. Encryption enables bookmark_v2, since it is a dependency of encryption, but not listed in openzfsonoxx-1.8.1 compatibility list. Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
b52f01d
to
67717ce
Compare
Instead of adding |
This seems like the safest thing to do. However, according to these release notes the bookmark_v2 feature was included in 1.8.1. |
zpool_create_features_007_pos only tested for compat-2020 feature set. It would be useful to test for all known features sets. If any additional feature is found enabled that is not present in compatibility list or feature set, it should be caught and reported earlier. This commit also removes encryption from openzfsonosx-1.8.1 compatibility list. Encryption enables bookmark_v2, since it is a dependency of encryption, but not listed in openzfsonoxx-1.8.1 compatibility list. Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Umer Saleem <usaleem@ixsystems.com> Closes #15505
This commit updates zpool-features.7 man page to add newly added zpool features to grub2 compatibility list. Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Umer Saleem <usaleem@ixsystems.com> Closes openzfs#15505
zpool_create_features_007_pos only tested for compat-2020 feature set. It would be useful to test for all known features sets. If any additional feature is found enabled that is not present in compatibility list or feature set, it should be caught and reported earlier. This commit also removes encryption from openzfsonosx-1.8.1 compatibility list. Encryption enables bookmark_v2, since it is a dependency of encryption, but not listed in openzfsonoxx-1.8.1 compatibility list. Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Umer Saleem <usaleem@ixsystems.com> Closes openzfs#15505
This commit updates zpool-features.7 man page to add newly added zpool features to grub2 compatibility list. Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Umer Saleem <usaleem@ixsystems.com> Closes openzfs#15505
zpool_create_features_007_pos only tested for compat-2020 feature set. It would be useful to test for all known features sets. If any additional feature is found enabled that is not present in compatibility list or feature set, it should be caught and reported earlier. This commit also removes encryption from openzfsonosx-1.8.1 compatibility list. Encryption enables bookmark_v2, since it is a dependency of encryption, but not listed in openzfsonoxx-1.8.1 compatibility list. Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Umer Saleem <usaleem@ixsystems.com> Closes openzfs#15505
Motivation and Context
grub2 compatibility list has been updated.
zpool-features.7
should be updated accordingly.Adding a new feature to compatibility list also enables all its dependencies. It may potentially
enable any feature which is not present in compatibility list. We should test for all know feature
sets and make sure only those features are enabled that are present in compatibility list.
Description
zpool-features.7
is updated to reflect updates in grub2 compatibility list.zpool_create_features_007.ksh
tests forcompat-2020
feature set, that it only enables thefeatures that are listed in
compat-2020
.zpool_create_features_007.ksh
is updated to testfor all known feature sets.
There was a fallout after updating the test,
openzfsonosx-1.8.1
listsencryption
to be enabled,encryption
depends onbookmark_v2
feature which is also enabled, but not listed inopenzfsonosx-1.8.1
list. So,encryption
has been removed fromopenzfsonosx-1.8.1
.How Has This Been Tested?
A successful ZTS run after the updates.
Types of changes
Checklist:
Signed-off-by
.