DragonFly BSD
DragonFly commits List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 8 Mar 2005 09:47:04 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]