Skip to content

module params: cleanup warnings - #642

Merged
gmelikov merged 2 commits into
masterfrom
docs-fix-links-and-ci
Jul 26, 2026
Merged

module params: cleanup warnings#642
gmelikov merged 2 commits into
masterfrom
docs-fix-links-and-ci

Conversation

@gmelikov

Copy link
Copy Markdown
Member

No description provided.

gmelikov added 2 commits July 26, 2026 19:39
The per-version line of the coverage report reused the word
"undocumented" for parameters that are described upstream perfectly
well and only lack the curated advice this page exists to add. A
reader who takes it at its word goes looking for l2arc_dwpd_limit,
finds it in the man page with its type, default and description, and
is left wondering what the warning was about.

Documented nowhere is a different bucket: it is reported as an error,
and it is the only one that fails the check. Keep the two apart in
the wording, as the summary line above ("have no curated notes") and
the markdown report ("Missing tuning notes") already do.
The scan for identifiers the curated text names but the sources no
longer have reported eleven. Two were real:

arcstats has no arc_dnode_size field and never has had one; the field
is called dnode_size. Both dnode limit entries told the reader to
compare it against arc_dnode_limit, which is real, so the sentence
looked right enough to survive.

zfs_multihost_import_intervals spelled its own name in the singular
inside the literal and hung the plural s outside it with an escape.
The formula therefore named a parameter that does not exist, and the
trick was invisible in the rendered page.

The other nine were the scan's own doing, in three ways. Four entries
describe parameters upstream removed in 2.2 and 0.8, and one the vdev
cache that is gone entirely; their notes name the rest of that removed
world, as they should. check_removed_references() already leaves such
entries alone, so leave them alone here too.

The grep looked only at *.c and *.h, so all_system_memory and
zfs_mg_alloc_failures read as removed although man/man4/zfs.4 in
master names both -- the first as the term for installed memory, the
second in the same historical aside this page makes. Search the man
pages as well.

discard_max_bytes and discard_max_hw_bytes belong to the Linux block
layer and will never appear in this tree. Name them, with the reason.

The other exemption in check_removed_references(), for text that
already speaks in the past tense, is deliberately not adopted: applied
to a whole entry it exempts 73 of the 282, because ordinary prose says
"before" and "prior" all the time, and none of the eleven needs it.
@gmelikov
gmelikov merged commit bde8279 into master Jul 26, 2026
2 checks passed
@gmelikov
gmelikov deleted the docs-fix-links-and-ci branch July 26, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant