cvs commit: src/sys/gnu/ext2fs ext2_bmap.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_subs.c nfs_vfsops.c nfs_vnops.c src/sys/nfsserver nfs_serv.c src/sys/sys buf.h src/sys/ufs/ffs ...

Poul-Henning Kamp phk at FreeBSD.org
Fri Oct 22 01:47:21 PDT 2004


phk         2004-10-22 08:47:21 UTC

  FreeBSD src repository

  Modified files:
    sys/gnu/ext2fs       ext2_bmap.c 
    sys/kern             vfs_bio.c vfs_cluster.c vfs_subr.c 
    sys/nfs4client       nfs4_vnops.c 
    sys/nfsclient        nfs_bio.c nfs_subs.c nfs_vfsops.c 
                         nfs_vnops.c 
    sys/nfsserver        nfs_serv.c 
    sys/sys              buf.h 
    sys/ufs/ffs          ffs_softdep.c 
    sys/ufs/ufs          ufs_bmap.c 
    sys/vm               swap_pager.c 
  Log:
  Add b_bufobj to struct buf which eventually will eliminate the need for b_vp.
  
  Initialize b_bufobj for all buffers.
  
  Make incore() and gbincore() take a bufobj instead of a vnode.
  
  Make inmem() local to vfs_bio.c
  
  Change a lot of VI_[UN]LOCK(bp->b_vp) to BO_[UN]LOCK(bp->b_bufobj)
  also VI_MTX() to BO_MTX(),
  
  Make buf_vlist_add() take a bufobj instead of a vnode.
  
  Eliminate other uses of bp->b_vp where bp->b_bufobj will do.
  
  Various minor polishing: remove "register", turn panic into KASSERT,
  use new function declarations, TAILQ_FOREACH_SAFE() etc.
  
  Revision  Changes    Path
  1.58      +1 -1      src/sys/gnu/ext2fs/ext2_bmap.c
  1.453     +66 -56    src/sys/kern/vfs_bio.c
  1.153     +5 -4      src/sys/kern/vfs_cluster.c
  1.535     +64 -87    src/sys/kern/vfs_subr.c
  1.11      +5 -7      src/sys/nfs4client/nfs4_vnops.c
  1.137     +2 -2      src/sys/nfsclient/nfs_bio.c
  1.133     +1 -2      src/sys/nfsclient/nfs_subs.c
  1.160     +2 -1      src/sys/nfsclient/nfs_vfsops.c
  1.225     +5 -7      src/sys/nfsclient/nfs_vnops.c
  1.150     +1 -1      src/sys/nfsserver/nfs_serv.c
  1.171     +4 -3      src/sys/sys/buf.h
  1.158     +1 -1      src/sys/ufs/ffs/ffs_softdep.c
  1.61      +1 -1      src/sys/ufs/ufs/ufs_bmap.c
  1.259     +3 -4      src/sys/vm/swap_pager.c


More information about the cvs-src mailing list