Date: Wed, 9 Feb 2005 23:05:20 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_inode.c Message-ID: <200502092305.j19N5KDB023984@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502092305.j19N5KDB023984>