From owner-cvs-all Fri Oct 19 17:50:25 2001 Delivered-To: cvs-all@freebsd.org Received: from femail23.sdc1.sfba.home.com (femail23.sdc1.sfba.home.com [24.0.95.148]) by hub.freebsd.org (Postfix) with ESMTP id 6756537B40A; Fri, 19 Oct 2001 17:50:10 -0700 (PDT) Received: from laptop.baldwin.cx ([24.2.39.156]) by femail23.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20011020005009.HPMO5178.femail23.sdc1.sfba.home.com@laptop.baldwin.cx>; Fri, 19 Oct 2001 17:50:09 -0700 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200110192332.f9JNW3V11652@freefall.freebsd.org> Date: Fri, 19 Oct 2001 17:50:04 -0700 (PDT) From: John Baldwin To: Peter Wemm Subject: RE: cvs commit: src/sys/kern kern_shutdown.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 19-Oct-01 Peter Wemm wrote: > peter 2001/10/19 16:32:03 PDT > > Modified files: > sys/kern kern_shutdown.c > Log: > Add a sysctl for preventing the sync() in panic() recovery. This can > be so dangerous it isn't funny. eg: if you panic inside NFS or softdep, > and then try and sync you run into held locks and cause either deadlocks, > recursive panics or other interesting chaos. Default is unchanged. Thanks. I'd like to turn this off by default on -current unless there are large objections. At least for the time being since almost all of the attempts to sync disks during a panic right now on -current end up pancing again in bremfree(), which obscures the original panic. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message