cvs commit: src/sys/vfs/ufs ffs_inode.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 8 09:47:24 PST 2005


dillon      2005/03/08 09:47:04 PST

DragonFly src repository

  Modified files:
    sys/vfs/ufs          ffs_inode.c 
  Log:
  Sync with FreeBSD/1.103.   In the softupdates case for ffs_truncate() we
  use vinvalbuf() to invalidate pending io and dependencies.  However,
  vinvalbuf() rightfully does not call vnode_pager_setsize() for us.  We must
  do this here.  This could potentially have caused numerous kinds of bugs,
  but it was specifically causing msync() deadlocks because msync() was
  writing out pages that should not have been valid.
  
  Revision  Changes    Path
  1.13      +1 -0      src/sys/vfs/ufs/ffs_inode.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_inode.c.diff?r1=1.12&r2=1.13&f=u





More information about the Commits mailing list