ZVOL: Make zvol_prefetch_bytes module parameter platform-independent#17385
Merged
amotin merged 1 commit intoopenzfs:masterfrom May 31, 2025
Merged
Conversation
c1a5ca9 to
22736b4
Compare
amotin
approved these changes
May 27, 2025
robn
approved these changes
May 28, 2025
22736b4 to
d34fa22
Compare
Contributor
Author
|
Make sysctl name more compatible to zvol sysctls subgroup on FreeBSD side. Also, on Linux side: |
14 tasks
d34fa22 to
4a088ca
Compare
behlendorf
approved these changes
May 29, 2025
Member
|
@fuporovvStack This grown conflict after another PR merge. Please rebase. |
amotin
approved these changes
May 29, 2025
amotin
reviewed
May 29, 2025
5b5271f to
121ef20
Compare
amotin
approved these changes
May 30, 2025
behlendorf
approved these changes
May 30, 2025
The module parameter now is represented in FreeBSD sysctls list with name: 'vfs.zfs.vol.prefetch_bytes'. The default value is 131072, same as on Linux side. Sponsored-by: vStack, Inc. Signed-off-by: Fedor Uporov <fuporov.vstack@gmail.com>
121ef20 to
d041545
Compare
amotin
approved these changes
May 31, 2025
spauka
pushed a commit
to spauka/zfs
that referenced
this pull request
Aug 30, 2025
The module parameter now is represented in FreeBSD sysctls list with name: 'vfs.zfs.vol.prefetch_bytes'. The default value is 131072, same as on Linux side. Sponsored-by: vStack, Inc. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Rob Norris <rob.norris@klarasystems.com> Signed-off-by: Fedor Uporov <fuporov.vstack@gmail.com> Closes openzfs#17385
lundman
pushed a commit
to openzfsonosx/openzfs-fork
that referenced
this pull request
Jan 28, 2026
The module parameter now is represented in FreeBSD sysctls list with name: 'vfs.zfs.vol.prefetch_bytes'. The default value is 131072, same as on Linux side. Sponsored-by: vStack, Inc. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Rob Norris <rob.norris@klarasystems.com> Signed-off-by: Fedor Uporov <fuporov.vstack@gmail.com> Closes openzfs#17385
lundman
pushed a commit
to openzfsonwindows/openzfs
that referenced
this pull request
Feb 16, 2026
The module parameter now is represented in FreeBSD sysctls list with name: 'vfs.zfs.vol.prefetch_bytes'. The default value is 131072, same as on Linux side. Sponsored-by: vStack, Inc. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Rob Norris <rob.norris@klarasystems.com> Signed-off-by: Fedor Uporov <fuporov.vstack@gmail.com> Closes openzfs#17385
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Unify ZFS kernel module parameters names between Linux and FreeBSD.
Description
The zvol_prefetch_bytes module parameter now is represented in FreeBSD sysctls list with name: 'vfs.zfs.zvol_prefetch_bytes'. The default value is 131072, same as on Linux side.
How Has This Been Tested?
No additional tests added.
Types of changes
Checklist:
Signed-off-by.