cvs commit: src/sys/kern kern_shutdown.c

Roman Kurakin rik at cronyx.ru
Wed Jul 21 10:11:19 PDT 2004


Nate Lawson wrote:

> 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".  :)

Yea, this is closer to what I want to know. ;-)

rik

>
> -Nate
>
>





More information about the cvs-src mailing list