-
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
A couple of Linux 5.16 fixes #12975
A couple of Linux 5.16 fixes #12975
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks pretty straight forward, thanks for checking it out.
4a76f03
to
a2678ac
Compare
As a fairly random data point, this also fixed an issue with |
@rincebrain I believe the draft status could be removed from this PR. While not a comprehensive set of patches for 5.16, these all look good to me and should be included. Unless you have a few more in the works? For example, it appears some work will need to be done to address #12926. |
I can take a look at that, but no, I didn't have any more patches to push in this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ckane mind having a look at this.
Thanks, I'll build this tonight and test it out on my laptop and give feedback tomorrow. Looks fairly clear to me though. |
ok seems to be working stable on my laptop |
@rincebrain would you mind squashing these commits appropriately. We've also been using the convention of prefixing Linux kernel compatibility fixes with
|
As it says on the tin - the folio work moved a bunch out of mm.h. Signed-off-by: Rich Ercolani <[email protected]>
add_disk went from void to must-check int return. Signed-off-by: Rich Ercolani <[email protected]>
Linux decided to rename this for some reason. At some point, we should probably invert this mapping, but for now... Signed-off-by: Rich Ercolani <[email protected]>
For us, I think it's always just FALLOC_FL_PUNCH_HOLE with a fake mustache on. Signed-off-by: Rich Ercolani <[email protected]>
6b0e37e
to
700bb88
Compare
There you go.
(I didn't tag the FALLOC one as 5.16 compat because it's not, really - it
started whining loudly in 5.16 sometimes, but the actual feature was Linux
3.15...)
…On Fri, Jan 21, 2022 at 7:38 PM Brian Behlendorf ***@***.***> wrote:
@rincebrain <https://github.com/rincebrain> would you mind squashing
these commits appropriately. We've also been using the convention of
prefixing Linux kernel compatibility fixes with Linux 5.16 compat: in the
subject line. It just makes it easier to make sure we're got all the
relevant kernel changes when backporting the commits. For example:
- Linux 5.16 compat: Added FALLOC_FL_ZERO_RANGE to allowed flags
- Linux 5.16 compat: Added mapping for renamed
iov_iter_fault_in_readable
- Linux 5.16 compat: Added add_disk check for return
- Linux 5.16 compat: Include another header so we find kvmalloc
—
Reply to this email directly, view it on GitHub
<#12975 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABUI7PSIJ6DQKZZ5HVDCY3UXH367ANCNFSM5L7FFALQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
add_disk went from void to must-check int return. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes #12975
Linux decided to rename this for some reason. At some point, we should probably invert this mapping, but for now... Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes #12975
For us, I think it's always just FALLOC_FL_PUNCH_HOLE with a fake mustache on. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes #12975
@behlendorf Is this going to be cherry picked into 2.1.x as well? |
It's very likely to be picked up into the zfs-2.1.3-staging branch. |
As it says on the tin - the folio work moved a bunch out of mm.h. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes #12975
add_disk went from void to must-check int return. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes #12975
Linux decided to rename this for some reason. At some point, we should probably invert this mapping, but for now... Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes #12975
For us, I think it's always just FALLOC_FL_PUNCH_HOLE with a fake mustache on. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes #12975
@jonathonf Is there a release criteria for 2.1.3 release? What is blocking the release of 2.1.3 at this point? I see that patches have landed in staging. |
I don't know - I don't control the release cycle, I just try to help here and there. |
As it says on the tin - the folio work moved a bunch out of mm.h. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12975
add_disk went from void to must-check int return. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12975
Linux decided to rename this for some reason. At some point, we should probably invert this mapping, but for now... Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12975
For us, I think it's always just FALLOC_FL_PUNCH_HOLE with a fake mustache on. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12975
As it says on the tin - the folio work moved a bunch out of mm.h. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12975
add_disk went from void to must-check int return. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12975
Linux decided to rename this for some reason. At some point, we should probably invert this mapping, but for now... Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12975
For us, I think it's always just FALLOC_FL_PUNCH_HOLE with a fake mustache on. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12975
For us, I think it's always just FALLOC_FL_PUNCH_HOLE with a fake mustache on. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12975
For us, I think it's always just FALLOC_FL_PUNCH_HOLE with a fake mustache on. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12975
For us, I think it's always just FALLOC_FL_PUNCH_HOLE with a fake mustache on. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes openzfs#12975
(Draft b/c my first run through the CI failed in the ENOSPC checks for some reason, and because I feel like sendfile shouldn't have broken even in that case unless we want to make that a fatal check error?)
Motivation and Context
I went down the hole for #12971 and adjusted a few things before I found one that helped.
Description
Three patches.
How Has This Been Tested?
Ran it through -r sanity and -T functional on a Fedora rawhide VM running the 5.16 kernel
Types of changes
Checklist:
Signed-off-by
.