HomeFreeBSD

According to phk@, VOP_STRATEGY should never, _ever_, return
rS186194Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

According to phk@, VOP_STRATEGY should never, _ever_, return
anything other than 0. Make it so. This fixes
"panic: VOP_STRATEGY failed bp=0xc320dd90 vp=0xc3b9f648",
encountered when writing to an orphaned filesystem. Reason
for the panic was the following assert:
KASSERT(i == 0, ("VOP_STRATEGY failed bp=%p vp=%p", bp, bp->b_vp));
at vfs_bio:bufstrategy().

Reviewed by: scottl, phk
Approved by: rwatson (mentor)
Sponsored by: FreeBSD Foundation

Details

Provenance
traszAuthored on
Parents
rS186193: Fix forced mdconfig -du. E.g. the following would previously
Branches
Unknown
Tags
Unknown

Event Timeline