-
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
fix typesetting of Errata #4 #8721
Conversation
Signed-off-by: Justin Scholz <git@justinscholz.de> Issue openzfs#8712
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.
@JMoVS after locally testing the formatting of this PR I spotted a couple of lines which slightly exceeded the 80 character limit. While I had a test system set up I took the liberty of updating the formatting, the resulting output looks like this:
$ zpool import
pool: tank
id: 13002386651819330324
state: ONLINE
status: Errata #4 detected.
action: Existing encrypted snapshots and bookmarks contain an on-disk
incompatibility. This may cause on-disk corruption if they are used
with 'zfs recv'. To correct the issue, enable the bookmark_v2 feature.
No additional action is needed if there are no encrypted snapshots or
bookmarks. If preserving the encrypted snapshots and bookmarks is
required, use a non-raw send to backup and restore them. Alternately,
they may be removed to resolve the incompatibility.
see: http://zfsonlinux.org/msg/ZFS-8000-ER
config:
tank ONLINE
vdc ONLINE
$ zpool import tank
$ zpool status
pool: tank
state: ONLINE
status: Errata #4 detected.
Existing encrypted snapshots and bookmarks contain an on-disk
incompatibility. This may cause on-disk corruption if they are used
with 'zfs recv'.
action: To correct the issue, enable the bookmark_v2 feature. No additional
action is needed if there are no encrypted snapshots or bookmarks.
If preserving the encrypted snapshots and bookmarks is required, use
a non-raw send to backup and restore them. Alternately, they may be
removed to resolve the incompatibility.
see: http://zfsonlinux.org/msg/ZFS-8000-ER
scan: none requested
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
vdc ONLINE 0 0 0
errors: No known data errors
Would you mind updating this PR using behlendorf/zfs@b509b15. Or, if you prefer, I can open a replacement PR. Thanks.
@behlendorf I can update, but in your output in the first case, there are 7 spaces in the 7 lines after the first missing at the beginning including in the "see" line. |
@behlendorf Thanks for testing and the fix! I pulled your branch and force-pushed, so this PR should be updated properly now. |
Codecov Report
@@ Coverage Diff @@
## master #8721 +/- ##
=========================================
+ Coverage 78.73% 78.83% +0.1%
=========================================
Files 381 381
Lines 117674 117630 -44
=========================================
+ Hits 92649 92734 +85
+ Misses 25025 24896 -129
Continue to review full report at Codecov.
|
@JMoVS I'm confused about the status of this. To me, the first output from @behlendorf does not line up. |
@rlaager I've briefly chatted with @behlendorf about it today in the morning, here's from IRC:
|
The alignment of the Offhand I'm not sure why this is the case, and I agree making the alignment consistent is the right thing to do. But I think addressing that is outside the scope of this PR, and it really warrants its own. @rlaager assuming you agree could you review and approve this PR. |
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.
LGTM
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.
This LGTM, subject to the caveat that I didn't run this and only reviewed the output as pasted here.
Reviewed-by: Olaf Faaland <faaland1@llnl.gov> Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Justin Scholz <git@justinscholz.de> Closes openzfs#8712 Closes openzfs#8721
Reviewed-by: Olaf Faaland <faaland1@llnl.gov> Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Justin Scholz <git@justinscholz.de> Closes openzfs#8712 Closes openzfs#8721
fixes #8712
Signed-off-by: Justin Scholz git@justinscholz.de
Added some missing tabs and newlines, was not able to verify myself though that it fixes the problem. Could someone with access to a linux verify before merging? For both the import and the status callback?
Motivation and Context
Description
Tried to catch all tabs and new lines that were still missing
How Has This Been Tested?
Wasn't able to test, please verify it before merging.
Types of changes
Checklist:
Signed-off-by
.