cvs commit: src/sys/kern vfs_bio.c vfs_subr.c src/sys/sys buf.h src/sys/vfs/gnu/ext2fs ext2_inode.c ext2_vfsops.c src/sys/vfs/msdosfs msdosfs_fat.c msdosfs_vnops.c src/sys/vfs/ufs ffs_softdep.c ffs_vfsops.c ufs_lookup.c ufs_readwrite.c ...

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jun 5 07:52:31 PDT 2006


dillon      2006/06/05 07:51:30 PDT

DragonFly src repository

  Modified files:        (Branch: DragonFly_RELEASE_1_4)
    sys/kern             vfs_bio.c vfs_subr.c 
    sys/sys              buf.h 
    sys/vfs/gnu/ext2fs   ext2_inode.c ext2_vfsops.c 
    sys/vfs/msdosfs      msdosfs_fat.c msdosfs_vnops.c 
    sys/vfs/ufs          ffs_softdep.c ffs_vfsops.c ufs_lookup.c 
                         ufs_readwrite.c ufs_vnops.c 
  Log:
  Add some diagnostic messages to try to catch a ufs_dirbad panic before it
  happens.
  
  MFC: Reorder BUF_UNLOCK() - it must occur after b_flags is modified, not
  before.
  
  A newly created non-VMIO buffer is now marked B_INVAL.  Callers of getblk()
  now always clear B_INVAL before issuing a READ I/O or when clearing or
  overwriting the buffer.  Before this change, a getblk() (getnewbuf),
  brelse(), getblk() sequence on a non-VMIO buffer would result in a buffer
  with B_CACHE set yet containing uninitialized data.
  
  MFC: B_NOCACHE cannot be set on a clean VMIO-backed buffer as this will
  destroy the VM backing store, which might be dirty.
  
  MFC: Reorder vnode_pager_setsize() calls to close a race condition.
  
  Revision  Changes    Path
  1.53.2.2  +25 -1     src/sys/kern/vfs_bio.c
  1.65.2.2  +10 -0     src/sys/kern/vfs_subr.c
  1.21.2.1  +1 -0      src/sys/sys/buf.h
  1.9.2.1   +1 -0      src/sys/vfs/gnu/ext2fs/ext2_inode.c
  1.31.2.1  +1 -0      src/sys/vfs/gnu/ext2fs/ext2_vfsops.c
  1.6.4.1   +1 -0      src/sys/vfs/msdosfs/msdosfs_fat.c
  1.27.2.1  +1 -0      src/sys/vfs/msdosfs/msdosfs_vnops.c
  1.32.2.2  +1 -0      src/sys/vfs/ufs/ffs_softdep.c
  1.34.2.1  +2 -0      src/sys/vfs/ufs/ffs_vfsops.c
  1.18.2.1  +1 -1      src/sys/vfs/ufs/ufs_lookup.c
  1.13.4.1  +6 -0      src/sys/vfs/ufs/ufs_readwrite.c
  1.32.2.1  +1 -1      src/sys/vfs/ufs/ufs_vnops.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.53.2.1&r2=1.53.2.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.65.2.1&r2=1.65.2.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/buf.h.diff?r1=1.21&r2=1.21.2.1&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_inode.c.diff?r1=1.9&r2=1.9.2.1&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_vfsops.c.diff?r1=1.31&r2=1.31.2.1&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_fat.c.diff?r1=1.6&r2=1.6.4.1&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_vnops.c.diff?r1=1.27&r2=1.27.2.1&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_softdep.c.diff?r1=1.32.2.1&r2=1.32.2.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_vfsops.c.diff?r1=1.34&r2=1.34.2.1&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_lookup.c.diff?r1=1.18&r2=1.18.2.1&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_readwrite.c.diff?r1=1.13&r2=1.13.4.1&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_vnops.c.diff?r1=1.32&r2=1.32.2.1&f=u





More information about the Commits mailing list