From owner-cvs-all@FreeBSD.ORG Wed Jul 21 16:34:44 2004 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 7A97916A4CE; Wed, 21 Jul 2004 16:34:44 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BF1E43D31; Wed, 21 Jul 2004 16:34:44 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-63-195-111-154.dsl.snfc21.pacbell.net [63.195.111.154]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i6LGYYra018956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 21 Jul 2004 09:34:34 -0700 Message-ID: <40FE9A94.5090805@root.org> Date: Wed, 21 Jul 2004 09:32:20 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.6 (X11/20040518) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roman Kurakin References: <200407211604.i6LG4kFK052991@repoman.freebsd.org> <40FE95FD.6000101@cronyx.ru> In-Reply-To: <40FE95FD.6000101@cronyx.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Robert Watson cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_shutdown.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, 21 Jul 2004 16:34:44 -0000 Roman Kurakin wrote: > Robert Watson wrote: >> FreeBSD src repository >> >> Modified files: >> sys/kern kern_shutdown.c Log: >> Don't sync the file system on panic by default. This seems to basically >> work very infrequently, and often results in a compound panic which >> confuses debugging; locking/SMP have made the layering violation (and >> risks) of this more obvious over time. >> >> Discussed with: green, bde, et al. >> >> Revision Changes Path >> 1.160 +1 -1 src/sys/kern/kern_shutdown.c > > How to change behavior? > > rik While Robert's followup was very detailed, I think the answer Rik is looking for is "sysctl kern.sync_on_panic". :) -Nate