-
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
Import the arcstat(1m) manpage from illumos #10288
Conversation
So, looking at the version control history for this file, it appears that the comment header in Therefore I'm just going to manually review the manpage and fix it up to match the Python version we have. While I'm at it I'll fix the lying comment header too. |
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.
Thanks! You're also going to need to add arcstat.1
to the dist_man_MANS
sections of man/man1/Makefile.am
. Otherwise it won't be included in the make dist
tarball.
@behlendorf done, thanks! I appreciate the review 👍 Note that I reordered the commits since logically it makes more sense to fix the capitalization of the |
Signed-off-by: AJ Jordan <alex@strugee.net>
And move it from section 1m to section 1 for consistency. Imported from illumos commit f34d737f. Signed-off-by: AJ Jordan <alex@strugee.net> Ref openzfs#10287
Turns out the illumos manpage, which is what this originates from, was written for the original Perl version of the utility which is not the version in the OpenZFS tree. *That* version originates from a Python rewrite that was done for FreeNAS. So fix up the manpage to match what we actually ship (and fix a few typos in the process). Signed-off-by: AJ Jordan <alex@strugee.net> Ref openzfs#10287
Signed-off-by: AJ Jordan <alex@strugee.net>
Done! |
Codecov Report
@@ Coverage Diff @@
## master #10288 +/- ##
==========================================
- Coverage 79.56% 79.56% -0.01%
==========================================
Files 389 389
Lines 123296 123296
==========================================
- Hits 98105 98096 -9
- Misses 25191 25200 +9
Continue to review full report at Codecov.
|
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. I didn't extensively review this or anything, but I don't see anything immediately wrong here.
And move it from section 1m to section 1 for consistency. Imported from illumos commit f34d737f. Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes #10288
Turns out the illumos manpage, which is what this originates from, was written for the original Perl version of the utility which is not the version in the OpenZFS tree. *That* version originates from a Python rewrite that was done for FreeNAS. So fix up the manpage to match what we actually ship (and fix a few typos in the process). Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes #10288
Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes #10288
Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes openzfs#10288 (cherry picked from commit 2b21da4)
And move it from section 1m to section 1 for consistency. Imported from illumos commit f34d737f. Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes openzfs#10288 (cherry picked from commit ac806a2)
Turns out the illumos manpage, which is what this originates from, was written for the original Perl version of the utility which is not the version in the OpenZFS tree. *That* version originates from a Python rewrite that was done for FreeNAS. So fix up the manpage to match what we actually ship (and fix a few typos in the process). Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes openzfs#10288 (cherry picked from commit 5a04b17)
Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes openzfs#10288 (cherry picked from commit b29e31d)
Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes openzfs#10288
And move it from section 1m to section 1 for consistency. Imported from illumos commit f34d737f. Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes openzfs#10288
Turns out the illumos manpage, which is what this originates from, was written for the original Perl version of the utility which is not the version in the OpenZFS tree. *That* version originates from a Python rewrite that was done for FreeNAS. So fix up the manpage to match what we actually ship (and fix a few typos in the process). Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes openzfs#10288
Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes openzfs#10288
Motivation and Context
This manpage is missing; this commit just imports it straight from upstream illumos (in this case illumos really is upstream because the original repo points to illumos-gate as the canonical repository).
See #10287
Description
See above. The only change was moving the manpage from section 1m to section 1 for consistency.
I imported this from illumos commit illumos/illumos-gate@f34d737#diff-c09ae939146892afff0190f8f64fd996, which was the latest commit in the file's history. It kinda seemed like this might count as an OpenZFS patch port, except that none of the commits that touch the illumos file really have a subject line that has anything to do with this manpage, so none of them are really suitable for describing the change. Therefore I treated the commit as a new change instead - if that's not right let me know and I can amend!
How Has This Been Tested?
I did not test this in any way; however, the one thing I need to go do is diff the illumos version of this script with our local copy, to determine if the flags described in this manual page (which I literally have not yet read) have diverged.
Also, I disabled buildbot behavior for this commit on the assumption that STYLE buildbots only do style analysis of code and not manpages - if that isn't right, then I can amend that too.
Types of changes
Checklist:
(I deleted some irrelevant checklist items since this doesn't involve actual code.)
Signed-off-by
.