Files
mirror_zfs/config
Brian Behlendorf 03ad94a3b2 Linux 4.18.0-257.el8 compat: blk_alloc_queue()
The CentOS stream 4.18.0-257 kernel appears to have backported
the Linux 5.9 change to make_request_fn and the associated API.
To maintain weak modules compatibility the original symbol was
retained and the new interface blk_alloc_queue_rh() was added.

Unfortunately, blk_alloc_queue() was replaced in the blkdev.h
header by blk_alloc_queue_bh() so there doesn't seem to be a way
to build new kmods against the old interfces.  Even though they
appear to still be available for weak module binding.

To accommodate this a configure check is added for the new _rh()
variant of the function and used if available.  If compatibility
code gets added to the kernel for the original blk_alloc_queue()
interface this should be fine.  OpenZFS will simply continue to
prefer the new interface and only fallback to blk_alloc_queue()
when blk_alloc_queue_rh() isn't available.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11374
2020-12-23 14:35:47 -08:00
..
2020-11-17 20:29:02 +00:00
2020-04-14 11:36:28 -07:00
2019-06-13 13:15:46 -07:00
2020-08-20 10:30:06 -07:00
2018-05-01 10:33:35 -07:00
2020-12-23 13:08:30 -08:00
2020-06-08 16:32:02 -07:00
2020-06-09 21:24:09 -07:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2019-08-30 09:40:30 -07:00
2020-07-14 17:33:44 -07:00
2018-11-11 18:06:36 -08:00
2020-07-10 14:26:00 -07:00
2019-10-01 12:50:34 -07:00