HomeFreeBSD

This patch removes the VOP_BWRITE() vector.
rS75580Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

This patch removes the VOP_BWRITE() vector.

VOP_BWRITE() was a hack which made it possible for NFS client
side to use struct buf with non-bio backing.

This patch takes a more general approach and adds a bp->b_op
vector where more methods can be added.

The success of this patch depends on bp->b_op being initialized
all relevant places for some value of "relevant" which is not
easy to determine. For now the buffers have grown a b_magic
element which will make such issues a tiny bit easier to debug.

Details

Provenance
phkAuthored on
Parents
rS75579: Correct a typo; prefered -> preferred.
Branches
Unknown
Tags
Unknown

Event Timeline