From: Sunil Mushran Date: Wed, 18 Nov 2009 00:29:19 +0000 (-0800) Subject: ocfs2/cluster: Make fence method configurable - v2 X-Git-Tag: v2.6.33-rc2~4^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6656d26d17b2598f43cd41be088853fa2a03397;p=pandora-kernel.git ocfs2/cluster: Make fence method configurable - v2 By default, o2cb fences the box by calling emergency_restart(). While this scheme works well in production, it comes in the way during testing as it does not let the tester take stack/core dumps for analysis. This patch allows user to dynamically change the fence method to panic() by: # echo "panic" > /sys/kernel/config/cluster//fence_method Signed-off-by: Sunil Mushran Signed-off-by: Joel Becker --- Reading git-diff-tree failed