-
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
Linux 6.11 compatibility #16400
Linux 6.11 compatibility #16400
Commits on Aug 13, 2024
-
linux/zvol_os: tidy and document queue limit/config setup
It gets hairier again in Linux 6.11, so I want some actual theory of operation laid out for next time. Signed-off-by: Rob Norris <[email protected]> Sponsored-by: https://despairlabs.com/sponsor/
Configuration menu - View commit details
-
Copy full SHA for a91cc99 - Browse repository at this point
Copy the full SHA a91cc99View commit details -
Linux 6.11: enable queue flush through queue limits
In 6.11 struct queue_limits gains a 'features' field, where, among other things, flush and write-cache are enabled. Detect it and use it. Along the way, the blk_queue_set_write_cache() compat wrapper gets a little cleanup. Since both flags are alway set together, its now a single bool. Also the very very ancient version that sets q->flush_flags directly couldn't actually turn it off, so I've fixed that. Not that we use it, but still. Signed-off-by: Rob Norris <[email protected]> Sponsored-by: https://despairlabs.com/sponsor/
Configuration menu - View commit details
-
Copy full SHA for 36f8c0f - Browse repository at this point
Copy the full SHA 36f8c0fView commit details -
Linux 6.11: get backing_dev_info through queue gendisk
It's no longer available directly on the request queue, but its easy to get from the attached disk. Signed-off-by: Rob Norris <[email protected]> Sponsored-by: https://despairlabs.com/sponsor/
Configuration menu - View commit details
-
Copy full SHA for 179eca8 - Browse repository at this point
Copy the full SHA 179eca8View commit details -
Linux 6.11: first arg to proc_handler is now const
Detect it, and use a macro to make sure we always match the prototype. Signed-off-by: Rob Norris <[email protected]> Sponsored-by: https://despairlabs.com/sponsor/
Configuration menu - View commit details
-
Copy full SHA for 0b543f7 - Browse repository at this point
Copy the full SHA 0b543f7View commit details -
Linux 6.11: IO stats is now a queue feature flag
Apply them with with the rest of the settings. Signed-off-by: Rob Norris <[email protected]> Sponsored-by: https://despairlabs.com/sponsor/
Configuration menu - View commit details
-
Copy full SHA for f618abf - Browse repository at this point
Copy the full SHA f618abfView commit details -
Linux 6.11: add more queue_limit fields with removed setters
These fields are very old, so no detection necessary; we just move them into the limit setup functions. Signed-off-by: Rob Norris <[email protected]> Sponsored-by: https://despairlabs.com/sponsor/
Configuration menu - View commit details
-
Copy full SHA for cf941b9 - Browse repository at this point
Copy the full SHA cf941b9View commit details -
Linux 6.11: add compat macro for page_mapping()
Since the change to folios it has just been a wrapper anyway. Linux has removed their wrapper, so we add one. Signed-off-by: Rob Norris <[email protected]> Sponsored-by: https://despairlabs.com/sponsor/
Configuration menu - View commit details
-
Copy full SHA for ccbacb8 - Browse repository at this point
Copy the full SHA ccbacb8View commit details -
Linux 6.11: avoid passing "end" sentinel to register_sysctl()
Signed-off-by: Rob Norris <[email protected]> Sponsored-by: https://despairlabs.com/sponsor/
Configuration menu - View commit details
-
Copy full SHA for 50229a1 - Browse repository at this point
Copy the full SHA 50229a1View commit details