Hi all, This version makes fatal asserts runtime and build time configurable. Patch 1 creates the runtime tunable and patch 2 creates a Kconfig option to control the default value of the runtime tunable. As before, default DEBUG mode behavior is preserved (i.e., assert failures BUG() the kernel). Brian v3: - Add DEBUG mode sysfs tunable for runtime configuration. - Refactor compile time flag to set default value of runtime flag. v2: http://www.spinics.net/lists/linux-xfs/msg06520.html - Clean up the Kconfig option help text. v1: http://www.spinics.net/lists/linux-xfs/msg06498.html - Use a new config option rather than reuse XFS_WARN. - Disable BUG() in DEBUG mode by default and flip the logic of the new config option. rfc: http://www.spinics.net/lists/linux-xfs/msg06390.html Brian Foster (2): xfs: define bug_on_assert debug mode sysfs tunable xfs: define fatal assert build time tunable fs/xfs/Kconfig | 13 +++++++++++++ fs/xfs/xfs.h | 4 ++++ fs/xfs/xfs_globals.c | 5 +++++ fs/xfs/xfs_message.c | 5 ++++- fs/xfs/xfs_sysctl.h | 1 + fs/xfs/xfs_sysfs.c | 33 +++++++++++++++++++++++++++++++++ 6 files changed, 60 insertions(+), 1 deletion(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html