From owner-freebsd-current Mon Dec 11 3:24:29 2000 From owner-freebsd-current@FreeBSD.ORG Mon Dec 11 03:24:16 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2728037B6A1 for ; Mon, 11 Dec 2000 03:24:16 -0800 (PST) Received: from earth.backplane.com (placeholder-dcat-1076843399.broadbandoffice.net [64.47.83.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CE436E2DEA for ; Sun, 10 Dec 2000 23:55:28 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id eBB7rYP89514; Sun, 10 Dec 2000 23:53:34 -0800 (PST) (envelope-from dillon) Date: Sun, 10 Dec 2000 23:53:34 -0800 (PST) From: Matt Dillon Message-Id: <200012110753.eBB7rYP89514@earth.backplane.com> To: Philipp Mergenthaler Cc: freebsd-current@freebsd.org Subject: patch #3 (was Re: panic: vm_pageout_flush: partially dirty page) References: <20001210033546.A13896@rz.uni-karlsruhe.de> <200012102334.eBANYWm87853@earth.backplane.com> <20001211011119.B21036@rz.uni-karlsruhe.de> <200012110030.eBB0UdI88063@earth.backplane.com> <20001211020611.A6308@rz.uni-karlsruhe.de> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Phillipp. I couldn't find a quick fix so I recommend using the very first patch I sent you that changes the KASSERT that was causing the panic. I am comitting a slight variation of that patch to current now and stable in two days. The KASSERT was being a little too conservative in regards to dirty bits that are 'beyond the file EOF'. These get set when you dirty a mmap'd page, but only some of them get cleared when the filesystem buffer (containing the last fragment of a file) is synced, leaving m->dirty looking something like 0xFC. I believe the extra page cleaning write that occurs (and has occured for the last year) is harmless enough for now. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message