378e561228
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. |
||
---|---|---|
.. | ||
mfs_extern.h | ||
mfs_vfsops.c | ||
mfs_vnops.c | ||
mfsnode.h |