diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2009-11-17 19:29:19 -0500 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-12-02 19:49:26 -0500 |
commit | f6656d26d17b2598f43cd41be088853fa2a03397 (patch) | |
tree | 5fdf95fdfab4302e28d9f00cf89ea4785ea9325c /fs/ocfs2/inode.h | |
parent | 57b09bb5e492c37c1e4273fe4e435ffd1d2ddbe0 (diff) |
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>
Diffstat (limited to 'fs/ocfs2/inode.h')
0 files changed, 0 insertions, 0 deletions