The bio_length member of struct bio is preferred over bio_bcount.
MFC after: 2 weeks
Differential D53398
devstat.9: Use bio_length instead of bio_bcount in examples Authored by 0mp on Oct 28 2025, 2:12 PM. Tags None Referenced Files
Details
The bio_length member of struct bio is preferred over bio_bcount. MFC after: 2 weeks
Diff Detail
Event TimelineComment Actions Nah, it's not that simple. ./sys/kern/subr_devstat.c 367: devstat_end_transaction(ds, bp->bio_bcount - bp->bio_resid, It'll require more work before we can update this manual. |