-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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.9 compat for ZFS 2.1.x #16286
base: zfs-2.1.16-staging
Are you sure you want to change the base?
Linux 6.9 compat for ZFS 2.1.x #16286
Conversation
Support the new `bdev_open_by_path` API introduced in https://lore.kernel.org/all/[email protected]/. Signed-off-by: Ryan Lahfa <[email protected]>
With new file-driven API, it is sufficient to `fput` the block device handle to release it. Signed-off-by: Ryan Lahfa <[email protected]>
Now, it takes queue limits, this is a trivial implementation with no queue limits, implementing proper queue limits is left as an exercise to the reader. Signed-off-by: Ryan Lahfa <[email protected]>
Hmm, it doesn't seem to pass ZTS, I may have introduced a problem somewhere. |
Well, I didn't read this PR, I wrote myself, I am completely fine with starting anew from there and back porting it, I was just not aware of it. |
I will start from your work, thanks for mentioning it! |
Any chance we could also convince you to pull in the 6.8 patches as well? I believe zfs-2.1.15 currently supports up to 6.7. |
Of course! |
Shouldn't this have updated |
Motivation and Context
This brings Linux 6.9 compat for ZFS 2.1.x.
Description
Applies the deprecations of upstream kernel.
How Has This Been Tested?
Untested at the moment.
Types of changes
Checklist:
Signed-off-by
.