Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2004 09:32:20 -0700
From:      Nate Lawson <nate@root.org>
To:        Roman Kurakin <rik@cronyx.ru>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_shutdown.c
Message-ID:  <40FE9A94.5090805@root.org>
In-Reply-To: <40FE95FD.6000101@cronyx.ru>
References:  <200407211604.i6LG4kFK052991@repoman.freebsd.org> <40FE95FD.6000101@cronyx.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40FE9A94.5090805>