Repository navigation
Conversation
|
The suggested changes resolve #8446. |
6194bdb to
9b50d8e
Compare
|
Many more comments about GRUB are coming, but I updated the pull request to remove this from |
I was wondering if that might be the feedback. I have just now submitted a separate pull request for that. See #8627. There is one commit in common to both. If both are accepted, we'll need to remove/revert the last commit here ("Clarify GRUB's lack of support for sha512, skein, edonr"). If this pull request is otherwise acceptable, I would suggest we accept this one as is. That way, we don't have to hold up these changes on the GRUB question. Then, I can add a commit to #8627 to remove the checksum note. |
9b50d8e to
f799b12
Compare
|
@jwittlincohen wrote:
Thanks for mentioning that. I added a "Closes #8446" to the relevant commit. |
behlendorf
left a comment
There was a problem hiding this comment.
Thanks for the cleanup. I'm happy to apply each of these as its own commit and not squash anything.
My only concern is that we should leave the GRUB commits for another PR. So I'd like to hold off on that commit. While removing them entirely makes sense for Linux I think they should probably be replaced by something which better explains the situation.
Can you clarify this a bit? In one place you say commits plural and in another you say commit singular. "Update a comment to match the code" should be the least objectionable. That's literally fixing the comment to match the code. I assume that can stay? I think "Remove zfs.h comments about GRUB" is solid in any case. Nobody is going to be bumping SPA_VERSION because we do feature flags. And I assume ZPL_VERSION will only get bumped if it gets a features implementation. Any issues here? I assume "Clarify GRUB's lack of support for sha512, skein, edonr" is the issue. The current man page language in zpool-features.5 is wrong and the two man pages contradict each other, leading to actual user confusion (#8446). We can either rip it out entirely or fix it. This commit fixes it, which maintains the status quo of discussing GRUB. I'm happy to rip it out entirely in #8627. Are you in favor of ripping it out entirely? If so, I'll remove the commit here and add a removal to #8627. |
|
Sorry for being overly vague. Specifically my concern was tiny and only with 833310c which removes the I think we do need keep some documentation here explaining that Since I thought this might end up becoming a more substantial documentation update I suggested deferring it to a different PR. Though, I'm OK with the minimal update I mentioned above since it's at least accurate.
This makes the most sense to me until we decide how best to discuss this issue. |
Previously, the "spare" vdev type was described as "A special pseudo-vdev which...". I wanted to eliminate the word "special" from that, now that the allocation_classes feature exists and there is such a thing as a "special vdev". I ended up eliminating almost all instances of the word "special" that are not referencing the allocation_classes feature. Signed-off-by: Richard Laager <rlaager@wiktel.com>
This had a mix of command vs subcommand, quoted vs not quoted, and bolded vs. not bolded command names. Also, fix man page sections from 1M (Solaris) to 8 (Linux). Signed-off-by: Richard Laager <rlaager@wiktel.com>
On Linux, this is in man section 8, not 1M. Also, there is no fsdb on Linux, so I removed that. Signed-off-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
The old wording was effectively "You can not use this (except you can)", which just seems confusing. Signed-off-by: Richard Laager <rlaager@wiktel.com>
Nobody is going to be bumping SPA_VERSION again, as OpenZFS has moved on to feature flags. Also, there is no requirement to keep GRUB up-to-date, nor has that been happening. The ZPL_VERSION could be bumped, but that would likely be handled in a similar way, by adding filesystem feature flags. In any event, we do not need this comment, and we certainly don't need a reference to the GRUB 0.97 source code in a Solaris tree. Signed-off-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
GRUB supports large_blocks. Signed-off-by: Richard Laager <rlaager@wiktel.com>
zfs.8 correctly said that GRUB did not support them, but zpool-features.5 said that "Booting off pools...is supported." Now, zpool-features.5 discusses GRUB specifically and indicates its lack of support for these features. Also, I have clarified the wording in both places to indicate that the pool feature cannot be used. It's not a filesystem dataset thing, but pool-wide. I described this as "cannot be used". I think technically the feature can be enabled, just not active. However, the effect is essentially the same: you cannot enable those checksum algorithms on any dataset in the pool, so you might as well not enable the feature (which is just pointing a loaded gun at your foot). In the past, an argument could be made that having all the features enabled was useful for simplicity, as long as you didn't activate the GRUB-incompatible features, but that's getting less and less realistic over time. A user can still do that, but we should not encourage that. Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes openzfs#8446
f799b12 to
ec834ef
Compare
|
There is an existing comment at the top of the SPA_VERSION block: I agree it's good to reference the details in I also expanded the GUID capitalization from just zpool-features.5 to also include the comment in |
Codecov Report
@@ Coverage Diff @@
## master #8626 +/- ##
==========================================
+ Coverage 78.76% 78.79% +0.02%
==========================================
Files 381 381
Lines 117527 117527
==========================================
+ Hits 92575 92605 +30
+ Misses 24952 24922 -30
Continue to review full report at Codecov.
|
This had a mix of command vs subcommand, quoted vs not quoted, and bolded vs. not bolded command names. Also, fix man page sections from 1M (Solaris) to 8 (Linux). Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes #8626
On Linux, this is in man section 8, not 1M. Also, there is no fsdb on Linux, so I removed that. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes #8626
Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes #8626
Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes #8626
The old wording was effectively "You can not use this (except you can)", which just seems confusing. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes #8626
Nobody is going to be bumping SPA_VERSION again, as OpenZFS has moved on to feature flags. Also, there is no requirement to keep GRUB up-to-date, nor has that been happening. The ZPL_VERSION could be bumped, but that would likely be handled in a similar way, by adding filesystem feature flags. In any event, we do not need this comment, and we certainly don't need a reference to the GRUB 0.97 source code in a Solaris tree. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes #8626
Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes #8626
GRUB supports large_blocks. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes #8626
zfs.8 correctly said that GRUB did not support them, but zpool-features.5 said that "Booting off pools...is supported." Now, zpool-features.5 discusses GRUB specifically and indicates its lack of support for these features. Also, I have clarified the wording in both places to indicate that the pool feature cannot be used. It's not a filesystem dataset thing, but pool-wide. I described this as "cannot be used". I think technically the feature can be enabled, just not active. However, the effect is essentially the same: you cannot enable those checksum algorithms on any dataset in the pool, so you might as well not enable the feature (which is just pointing a loaded gun at your foot). In the past, an argument could be made that having all the features enabled was useful for simplicity, as long as you didn't activate the GRUB-incompatible features, but that's getting less and less realistic over time. A user can still do that, but we should not encourage that. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Laager <rlaager@wiktel.com> Closes #8626 Closes #8446
Motivation and Context
This started as a change to eliminate the word "special" from the "spares" pseudo-vdev type, since "special" now has a specific meaning in the context of vdevs. It spiraled into a loosely-related pile of small documentation fixes.
Description
If some of these commits should be squashed, I'm open to that, but I would really prefer that they not all be squashed into one commit.
How Has This Been Tested?
I viewed the man pages with
man.GRUB's large_blocks support can be confirmed here: http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/fs/zfs/zfs.c#n276
Types of changes
Checklist:
Signed-off-by.