From owner-cvs-all@FreeBSD.ORG Wed Feb 9 23:05:20 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A81D16A4CE; Wed, 9 Feb 2005 23:05:20 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6362143D2D; Wed, 9 Feb 2005 23:05:20 +0000 (GMT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j19N5K25023985; Wed, 9 Feb 2005 23:05:20 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j19N5KDB023984; Wed, 9 Feb 2005 23:05:20 GMT (envelope-from jeff) Message-Id: <200502092305.j19N5KDB023984@repoman.freebsd.org> From: Jeff Roberson Date: Wed, 9 Feb 2005 23:05:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ufs/ffs ffs_inode.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2005 23:05:20 -0000 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