freebsd-nq/sys/ufs
Edward Tomasz Napierala 0da50f6ef8 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
2008-12-16 21:13:11 +00:00
..
ffs For now on every 10 cyclinder groups flush the buffer cache to free 2008-11-13 17:40:21 +00:00
ufs According to phk@, VOP_STRATEGY should never, _ever_, return 2008-12-16 21:13:11 +00:00