From owner-cvs-all@FreeBSD.ORG Sat Feb 19 11:44:58 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 0E9B216A4CE; Sat, 19 Feb 2005 11:44:58 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4EAE43D45; Sat, 19 Feb 2005 11:44:57 +0000 (GMT) (envelope-from phk@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 j1JBivS4012967; Sat, 19 Feb 2005 11:44:57 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1JBivKG012966; Sat, 19 Feb 2005 11:44:57 GMT (envelope-from phk) Message-Id: <200502191144.j1JBivKG012966@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sat, 19 Feb 2005 11:44:57 +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/geom geom_vfs.c src/sys/kern vfs_subr.c src/sys/nfsclient nfs_vnops.c src/sys/sys bufobj.h src/sys/ufs/ffs ffs_vfsops.c src/sys/ufs/ufs ufs_inode.c src/sys/vm vnode_pager.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: Sat, 19 Feb 2005 11:44:58 -0000 phk 2005-02-19 11:44:57 UTC FreeBSD src repository Modified files: sys/geom geom_vfs.c sys/kern vfs_subr.c sys/nfsclient nfs_vnops.c sys/sys bufobj.h sys/ufs/ffs ffs_vfsops.c sys/ufs/ufs ufs_inode.c sys/vm vnode_pager.c Log: Try to unbreak the vnode locking around vop_reclaim() (based mostly on patch from kan@). Pull bufobj_invalbuf() out of vinvalbuf() and make g_vfs call it on close. This is not yet a generally safe function, but for this very specific use it is safe. This solves the problem with buffers not being flushed by unmount or after failed mount attempts. Revision Changes Path 1.9 +4 -0 src/sys/geom/geom_vfs.c 1.583 +30 -36 src/sys/kern/vfs_subr.c 1.251 +2 -0 src/sys/nfsclient/nfs_vnops.c 1.13 +1 -0 src/sys/sys/bufobj.h 1.279 +0 -2 src/sys/ufs/ffs/ffs_vfsops.c 1.58 +1 -1 src/sys/ufs/ufs/ufs_inode.c 1.213 +2 -0 src/sys/vm/vnode_pager.c