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

Matthew Dillon dillon at
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 
  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

More information about the Commits mailing list