-
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 5.2 compat: Fix config/kernel-shrink.m4 test failure #8776
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8776 +/- ##
==========================================
- Coverage 78.75% 78.71% -0.04%
==========================================
Files 382 382
Lines 117809 117809
==========================================
- Hits 92776 92730 -46
- Misses 25033 25079 +46
Continue to review full report at Codecov.
|
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.
The updated check looks right, but could you clarify why this is specific to the 5.2 kernel.
I'm not sure, but there looks to be change(s) in kbuild in 5.2, e.g. torvalds/linux@83da1be. |
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.
I built the linux 5.2 compat PRs with a vanilla 5.2.0-rc1 kernel and they look good, thank you.
"whether ->count_objects callback exists" test failed with "error: error" message for using an incomplete function shrinker_cb(). This is caused by torvalds/linux@83da1bed86. It's configurable, but we would want to be able to compile with default kbuild setting. Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
This was caused by torvalds/linux@83da1be. Definition of KBUILD_MODPOST_WARN is as follows.
|
"whether ->count_objects callback exists" test failed with "error: error" message for using an incomplete function shrinker_cb(). This is caused by torvalds/linux@83da1bed86. It's configurable, but we would want to be able to compile with default kbuild setting. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: loli10K <ezomori.nozomu@gmail.com> Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com> Closes #8776
"whether ->count_objects callback exists" test failed with "error: error" message for using an incomplete function shrinker_cb(). This is caused by torvalds/linux@83da1bed86. It's configurable, but we would want to be able to compile with default kbuild setting. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: loli10K <ezomori.nozomu@gmail.com> Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com> Closes openzfs#8776
"whether ->count_objects callback exists" test failed with "error: error" message for using an incomplete function shrinker_cb(). This is caused by torvalds/linux@83da1bed86. It's configurable, but we would want to be able to compile with default kbuild setting. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: loli10K <ezomori.nozomu@gmail.com> Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com> Closes openzfs#8776
Motivation and Context
Fix ./configure failure on 5.2-rc1.
Note that ZoL still doesn't compile on 5.2 due to several other kernel side changes.
Description
whether ->count_objects callback exists
test failed witherror: error
message (at AC_MSG_ERROR(error)) for usingan incomplete function shrinker_cb().
Confirmed on Fedora 29 with 5.2-rc1 (but not 5.1 with same gcc).
How Has This Been Tested?
Types of changes
Checklist:
Signed-off-by
.