HomeFreeBSD

geom(9): struct bio KBI fix

Description

geom(9): struct bio KBI fix

The struct bio was changed after cb85c2e2e995 on the branch. To fix
this, move BIO_ERROR flag to another value, and now BIO_ERROR_COMPAT
occupies 0x1 instead. Also, introduce b_error_compat field at the place
where the old bio_error was.

This allows non-CAM(9) disk drivers and software volume manager modules
compiled against 15.0-RELEASE kernel to work on 15-STABLE kernel again.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D54327

Approved by: re (cperciva)

Details

Provenance
khngAuthored on Dec 21 2025, 10:45 PM
Reviewer
kib
Differential Revision
D54327: geom(9): struct bio KBI fix
Parents
rG84a265d9ace3: vmem.9: provide a reference to libuvmem(3)
Branches
Unknown
Tags
Unknown