Sunil Mushran f6656d26d1 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/<clustername>/fence_method

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2009-12-02 16:49:26 -08:00
..
2009-03-31 23:00:26 -04:00
2009-10-28 23:05:57 -07:00
2009-09-22 20:09:36 -07:00
2009-09-22 20:09:36 -07:00
2009-07-21 15:47:55 -07:00
2009-04-03 11:39:16 -07:00
2009-09-23 01:54:47 -07:00
2009-04-21 16:31:20 -07:00
2009-09-22 20:09:37 -07:00
2009-10-28 23:05:57 -07:00
2009-10-28 23:05:57 -07:00
2009-09-27 11:39:25 -07:00
2009-09-22 20:09:51 -07:00
2009-10-28 23:06:32 -07:00
2009-09-22 20:09:51 -07:00
2009-10-28 23:06:37 -07:00
2009-09-23 18:13:10 -07:00
2009-10-28 23:05:57 -07:00
2009-10-28 23:05:57 -07:00