Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2001 17:50:04 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern kern_shutdown.c
Message-ID:  <XFMail.011019175004.jhb@FreeBSD.org>
In-Reply-To: <200110192332.f9JNW3V11652@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011019175004.jhb>