HomeFreeBSD

Linux 5.18 compat: bio_alloc()

Description

Linux 5.18 compat: bio_alloc()

As for the Linux 5.18 kernel bio_alloc() expects a block_device struct
as an argument. This removes the need for the bio_set_dev() compatibility
code for 5.18 and newer kernels.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13515

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 27 2022, 8:28 PM
Parents
rG152d6fda54e6: Fix inflated quiesce time caused by lwb_tx during zil_commit()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG5f264996f4dc: Linux 5.18 compat: bio_alloc() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).May 31 2022, 7:04 PM