Repository navigation
Linux 6.19 compat - #18053
Closed
robn wants to merge 3 commits into
Closed
Linux 6.19 compat#18053robn wants to merge 3 commits into
robn wants to merge 3 commits into
Conversation
Member
Author
|
Ahh, new when Seems like it keeps running ok, but obviously gonna need to do some updates. i'll have a look when I can this week. |
robn
force-pushed
the
linux-6.19-compat
branch
from
December 17, 2025 11:20
1651202 to
3125c8b
Compare
Member
Author
|
Last push hopefully sorts out the vmalloc flag changes. |
behlendorf
approved these changes
Dec 18, 2025
behlendorf
left a comment
Contributor
There was a problem hiding this comment.
Thanks again Rob for working through these changes. The churn is never ending! It's nice that what was needed was pretty minimal this time around. Plus those new warnings prompted us to drop those old flags.
Contributor
|
This continues to work for me on top of 2.4.0 with 6.19.0-rc2. |
Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris
robn
force-pushed
the
linux-6.19-compat
branch
from
December 23, 2025 06:29
3125c8b to
4863a16
Compare
tonyhutter
approved these changes
Dec 23, 2025
behlendorf
pushed a commit
that referenced
this pull request
Dec 23, 2025
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes #18053
behlendorf
pushed a commit
that referenced
this pull request
Dec 23, 2025
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes #18053
ptr1337
pushed a commit
to CachyOS/zfs
that referenced
this pull request
Dec 29, 2025
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
ptr1337
pushed a commit
to CachyOS/zfs
that referenced
this pull request
Dec 29, 2025
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
ptr1337
pushed a commit
to CachyOS/zfs
that referenced
this pull request
Dec 29, 2025
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
amotin
pushed a commit
to amotin/zfs
that referenced
this pull request
Jan 29, 2026
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
amotin
pushed a commit
to amotin/zfs
that referenced
this pull request
Jan 29, 2026
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
amotin
pushed a commit
to amotin/zfs
that referenced
this pull request
Jan 29, 2026
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
mcmilk
pushed a commit
to mcmilk/zfs
that referenced
this pull request
Jan 31, 2026
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
mcmilk
pushed a commit
to mcmilk/zfs
that referenced
this pull request
Jan 31, 2026
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
mcmilk
pushed a commit
to mcmilk/zfs
that referenced
this pull request
Jan 31, 2026
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
amotin
pushed a commit
to amotin/zfs
that referenced
this pull request
Feb 3, 2026
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
amotin
pushed a commit
to amotin/zfs
that referenced
this pull request
Feb 3, 2026
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
amotin
pushed a commit
to amotin/zfs
that referenced
this pull request
Feb 3, 2026
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
lundman
pushed a commit
to openzfsonosx/openzfs-fork
that referenced
this pull request
Feb 5, 2026
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
lundman
pushed a commit
to openzfsonosx/openzfs-fork
that referenced
this pull request
Feb 5, 2026
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
lundman
pushed a commit
to openzfsonosx/openzfs-fork
that referenced
this pull request
Feb 5, 2026
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
tonyhutter
pushed a commit
that referenced
this pull request
Feb 5, 2026
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes #18053
tonyhutter
pushed a commit
that referenced
this pull request
Feb 5, 2026
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes #18053
tonyhutter
pushed a commit
that referenced
this pull request
Feb 5, 2026
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes #18053
Member
Author
|
FYI, 6.19 dropped today. I did a ZTS run, all seems good. |
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
Feb 12, 2026
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
lundman
pushed a commit
to openzfsonwindows/openzfs
that referenced
this pull request
Feb 23, 2026
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
lundman
pushed a commit
to openzfsonwindows/openzfs
that referenced
this pull request
Feb 23, 2026
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
lundman
pushed a commit
to openzfsonwindows/openzfs
that referenced
this pull request
Feb 23, 2026
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
lundman
pushed a commit
to openzfsonwindows/openzfs
that referenced
this pull request
Feb 23, 2026
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
lundman
pushed a commit
to openzfsonwindows/openzfs
that referenced
this pull request
Feb 23, 2026
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
lundman
pushed a commit
to openzfsonwindows/openzfs
that referenced
this pull request
Feb 23, 2026
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
pcd1193182
pushed a commit
to KlaraSystems/zfs
that referenced
this pull request
Apr 9, 2026
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
behlendorf
pushed a commit
that referenced
this pull request
Apr 15, 2026
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes #18053
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
May 5, 2026
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
May 5, 2026
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
May 6, 2026
Since Linux 4.12 (torvalds/linux@19809c2da28ae) __GFP_HIGHMEM has been automatically added to calls to __vmalloc() internally, so we don't need it anymore. This is good, because since 6.19 the kernel warns if you use __GFP_HIGHMEM. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
May 6, 2026
It hasn't been necessary since Linux 3.13 (torvalds/linux@a57a49887eb33), and since 6.19 the kernel warns if you use it. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
Jun 8, 2026
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Tony HutterReviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes openzfs#18053
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
6.19-rc1 arrives with the gift of minimal changes 🎄.
Description
Two changes (over three commits):
i_stateinstruct inodeis no longer directly accessible, and a macroinode_state_read_once()is provided to get it. I've added a test for that macro and a definition for older kernels. We only use it in one place, so all together a very small change.__vmalloc()is now warning on "invalid" GFP flags, which pointed out places where we're no longer correctly using__GFP_HIGHMEMand__GFP_COMP. Adjusted, see commit messages.How Has This Been Tested?
Compile checked on: 4.19.325 5.10.240 6.1.159 6.6.101 6.12.41 6.18.0.
ZTS passed: 6.19-rc1, -rc2.
Types of changes
Checklist:
Signed-off-by.