cvs commit: src/sys/ufs/ffs ffs_inode.c
Jeff Roberson
jeff at FreeBSD.org
Wed Feb 9 23:05:20 GMT 2005
jeff 2005-02-09 23:05:20 UTC
FreeBSD src repository
Modified files:
sys/ufs/ffs ffs_inode.c
Log:
- 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
flushing pages that should not have been valid.
Sponsored by: Isilon Systems, Inc.
Reported by: kkenn
Revision Changes Path
1.103 +1 -0 src/sys/ufs/ffs/ffs_inode.c
More information about the cvs-src
mailing list