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

看板DFBSD_commit作者時間21年前 (2005/03/09 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #12BUYH00 (DFBSD_commit)