cvs commit: src/sys/gnu/ext2fs ext2_bmap.c ext2_inode.c src/sys/kern vfs_bio.c vfs_cluster.c vfs_subr.c src/sys/nfs4client nfs4_vnops.c src/sys/nfsclient nfs_bio.c nfs_node.c nfs_vnops.c...

Poul-Henning Kamp phk at FreeBSD.org
Sun Oct 24 13:03:42 PDT 2004


phk         2004-10-24 20:03:41 UTC

  FreeBSD src repository

  Modified files:
    sys/gnu/ext2fs       ext2_bmap.c ext2_inode.c 
    sys/kern             vfs_bio.c vfs_cluster.c vfs_subr.c 
    sys/nfs4client       nfs4_vnops.c 
    sys/nfsclient        nfs_bio.c nfs_node.c nfs_vnops.c 
                         nfsnode.h 
    sys/sys              buf.h bufobj.h 
    sys/ufs/ffs          ffs_inode.c 
    sys/ufs/ufs          ufs_bmap.c 
    sys/vm               swap_pager.c vm_pager.c vnode_pager.c 
  Log:
  Move the buffer method vector (buf->b_op) to the bufobj.
  
  Extend it with a strategy method.
  
  Add bufstrategy() which do the usual VOP_SPECSTRATEGY/VOP_STRATEGY
  song and dance.
  
  Rename ibwrite to bufwrite().
  
  Move the two NFS buf_ops to more sensible places, add bufstrategy
  to them.
  
  Add inlines for bwrite() and bstrategy() which calls through
  buf->b_bufobj->b_ops->b_{write,strategy}().
  
  Replace almost all VOP_STRATEGY()/VOP_SPECSTRATEGY() calls with bstrategy().
  
  Revision  Changes    Path
  1.59      +1 -1      src/sys/gnu/ext2fs/ext2_bmap.c
  1.48      +1 -1      src/sys/gnu/ext2fs/ext2_inode.c
  1.454     +18 -37    src/sys/kern/vfs_bio.c
  1.154     +2 -5      src/sys/kern/vfs_cluster.c
  1.538     +1 -0      src/sys/kern/vfs_subr.c
  1.12      +20 -1     src/sys/nfs4client/nfs4_vnops.c
  1.138     +2 -35     src/sys/nfsclient/nfs_bio.c
  1.68      +4 -0      src/sys/nfsclient/nfs_node.c
  1.226     +18 -1     src/sys/nfsclient/nfs_vnops.c
  1.46      +2 -0      src/sys/nfsclient/nfsnode.h
  1.172     +22 -9     src/sys/sys/buf.h
  1.5       +15 -0     src/sys/sys/bufobj.h
  1.94      +1 -1      src/sys/ufs/ffs/ffs_inode.c
  1.62      +1 -1      src/sys/ufs/ufs/ufs_bmap.c
  1.260     +1 -1      src/sys/vm/swap_pager.c
  1.96      +0 -1      src/sys/vm/vm_pager.c
  1.199     +2 -8      src/sys/vm/vnode_pager.c


More information about the cvs-src mailing list