tunables: remove legacy FreeBSD aliases #17375
Open
+27
−271
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
These are old pre-OpenZFS tunable names that have long been available via either conventional
ZFS_MODULE_PARAM
tunables or through kstats. It seems there's no point doubling up on them after so many years, and it's time for them to go.I'd love an old FreeBSD hand or two to look over them though. FreeBSD generally doesn't churn much, so it wouldn't surprise me if there is critical code and documentation that relies on these to remain. I'm in no hurry to nuke anything in use; on the contrary, I'd like to find out and make sure it's properly documented and tested on our side. So please review this!
Description
Here's the list of names removed, with their "new" names on the right:
Note that there's still a handful of tunables in
module/os/freebsd/zfs/sysctl_os.c
that don't have "core" counterparts; those remain for the moment. I also haven't touchedvfs.zfs.debugflags
even thoughvfs.zfs.flags
exists, because I think the former is a little smarter. I'll sort all these out another time.How Has This Been Tested?
ZTS run in progress on FreeBSD 14.2-p1.
Types of changes
Checklist:
Signed-off-by
.