kern.sync_on_panic

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Sat, 25 Jun 2011 17:49:38 +0300
Does anybody actually use kern.sync_on_panic tunable/sysctl?
If yes, then in what circumstances do you need it?
That is, why any other alternative doesn't work for you?
Like:
1. remounting filesystems R/O before panic if you knowingly provoke it for testing
2. using netboot for your test system
3. using su+j, gjournal or a different filesystem altogether
4. using fsck after reboot

It seems to me that syncing filesystems in panic context is an adventure.  And it
may become even more of an adventure if we introduce code that completely stops
scheduler in and after panic.

-- 
Andriy Gapon
Received on Sat Jun 25 2011 - 12:49:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC