Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionBrian Behlendorf
2020-12-28 18:54:20 UTC
Description of problem:
The blk_alloc_queue() function is no longer available in the kernel headers for the
4.18.0-257.el8 kernel. The symbol is still exported in kallsyms so I expect existing
kmods should be fine, but since it's not included in the headers no new kmods can be
built which use this interface.
This may all be intentional but since the symbol does appear on the kABI whitelist
I wanted to verify this was done intentionally. Was adding the old interface to the
headers accidentally overlooked or should consumers of this interface migrate to the
new blk_alloc_queue_rh function which is an upstream backport?
Version-Release number of selected component (if applicable):
CentOS Stream 8.4 kernel: 4.18.0-257.el8
How reproducible:
Always.
Steps to Reproduce:
1. Compile any kmod which relies on the previous blk_alloc_queue() function.
This was first observed when building OpenZFS against CentOS Stream:
https://github.com/openzfs/zfs/issues/11320.
Actual results:
When building OpenZFS the configure stage fails due to the missing interface.
Expected results:
The configure stage should detect the blk_alloc_queue() and the subsequent make
should complete successfully.
Additional info:
The latest development version of OpenZFS has been updated to use the
blk_alloc_queue_bh() function when available to avoid the failure. However,
it's unclear if the blk_alloc_queue() symbol should still be used by external
kmods or not.
declaration of blk_alloc_queue has add back,
but zfs's configure script detects blk_queue_make_request() too,
so,blk_queue_make_request() ABI change will be fixed in bz1919764.
mark this bz as verified:Tested
Comment 18Brian Behlendorf
2021-01-25 17:22:47 UTC
Confirmed that the blk_alloc_queue declaration has been added back,
$ git log kernel-4.18.0-279.el8 --oneline --grep=1911343
1d067deee444 [block] block: add blk_alloc_queue declaration back
Move to verified
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Important: kernel security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2021:1578
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Important: kernel security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2021:1578