-
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.5 compat: blkg_tryget() #10072
Merged
Merged
Conversation
This file contains 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
behlendorf
added
the
Type: Building
Indicates an issue related to building binaries
label
Feb 27, 2020
Commit torvalds/linux@9e8d42a0f accidentally converted the static inline function blkg_tryget() to GPL-only for kernels built with CONFIG_PREEMPT_RCU=y and CONFIG_BLK_CGROUP=y. Resolve the build issue by providing our own equivilant functionality when needed which uses rcu_read_lock_sched() internally as before. Signed-off-by: Brian Behlendorf <[email protected]> Issue openzfs#9745
behlendorf
force-pushed
the
issue-9745
branch
from
February 27, 2020 23:27
70d0f0c
to
e8ba972
Compare
behlendorf
changed the title
Linux 5.4 compat: blkg_tryget()
Linux 5.5 compat: blkg_tryget()
Feb 27, 2020
tonyhutter
approved these changes
Feb 28, 2020
Codecov Report
@@ Coverage Diff @@
## master #10072 +/- ##
==========================================
- Coverage 79% 67% -13%
==========================================
Files 386 304 -82
Lines 122316 105116 -17200
==========================================
- Hits 97059 70194 -26865
- Misses 25257 34922 +9665
Continue to review full report at Codecov.
|
behlendorf
added a commit
to behlendorf/zfs
that referenced
this pull request
Feb 28, 2020
Commit torvalds/linux@9e8d42a0f accidentally converted the static inline function blkg_tryget() to GPL-only for kernels built with CONFIG_PREEMPT_RCU=y and CONFIG_BLK_CGROUP=y. Resolve the build issue by providing our own equivalent functionality when needed which uses rcu_read_lock_sched() internally as before. Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#9745 Closes openzfs#10072
frebib
added a commit
to frebib/archzfs
that referenced
this pull request
Feb 29, 2020
Upstream fix: openzfs/zfs#10072
minextu
added a commit
to archzfs/archzfs
that referenced
this pull request
Feb 29, 2020
* Add Linux 5.5 compat patch Upstream fix: openzfs/zfs#10072 * Update src/zfs/PKGBUILD.sh Co-authored-by: Jan Houben <[email protected]>
10 tasks
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
Apr 22, 2020
Commit torvalds/linux@9e8d42a0f accidentally converted the static inline function blkg_tryget() to GPL-only for kernels built with CONFIG_PREEMPT_RCU=y and CONFIG_BLK_CGROUP=y. Resolve the build issue by providing our own equivalent functionality when needed which uses rcu_read_lock_sched() internally as before. Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#9745 Closes openzfs#10072
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
Apr 22, 2020
Commit torvalds/linux@9e8d42a0f accidentally converted the static inline function blkg_tryget() to GPL-only for kernels built with CONFIG_PREEMPT_RCU=y and CONFIG_BLK_CGROUP=y. Resolve the build issue by providing our own equivalent functionality when needed which uses rcu_read_lock_sched() internally as before. Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#9745 Closes openzfs#10072
tonyhutter
pushed a commit
that referenced
this pull request
May 12, 2020
Commit torvalds/linux@9e8d42a0f accidentally converted the static inline function blkg_tryget() to GPL-only for kernels built with CONFIG_PREEMPT_RCU=y and CONFIG_BLK_CGROUP=y. Resolve the build issue by providing our own equivalent functionality when needed which uses rcu_read_lock_sched() internally as before. Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #9745 Closes #10072
snajpa
pushed a commit
to vpsfreecz/zfs
that referenced
this pull request
May 28, 2020
Commit torvalds/linux@9e8d42a0f accidentally converted the static inline function blkg_tryget() to GPL-only for kernels built with CONFIG_PREEMPT_RCU=y and CONFIG_BLK_CGROUP=y. Resolve the build issue by providing our own equivalent functionality when needed which uses rcu_read_lock_sched() internally as before. Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#9745 Closes openzfs#10072 Signed-off-by: Pavel Snajdr <[email protected]>
jsai20
pushed a commit
to jsai20/zfs
that referenced
this pull request
Mar 30, 2021
Commit torvalds/linux@9e8d42a0f accidentally converted the static inline function blkg_tryget() to GPL-only for kernels built with CONFIG_PREEMPT_RCU=y and CONFIG_BLK_CGROUP=y. Resolve the build issue by providing our own equivalent functionality when needed which uses rcu_read_lock_sched() internally as before. Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#9745 Closes openzfs#10072
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Status: Accepted
Ready to integrate (reviewed, tested)
Type: Building
Indicates an issue related to building binaries
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
Issue #9745. Compilation failure for distribution provided Linux 5.5 kernels.
Description
Commit torvalds/linux@9e8d42a0f accidentally converted the static inline
function blkg_tryget() to GPL-only for kernels built with CONFIG_PREEMPT_RCU=y
and CONFIG_BLK_CGROUP=y.
Resolve the build issue by providing our own equivilant functionality
when needed which uses rcu_read_lock_sched() internally as before.
How Has This Been Tested?
Locally compiled against a Linux 5.5 kernel configured with PREEMPT_RCU and
BLK_CGROUP enabled.
Types of changes
Checklist:
Signed-off-by
.