cvs commit: src/sys/kern kern_shutdown.c

Nate Lawson nate at root.org
Wed Jul 21 09:34:44 PDT 2004


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


More information about the cvs-src mailing list