xfs: make fatal assert failures conditional in debug mode
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyIn review
- v21 patch 14 repliesSuperseded
- v11 patch 3 repliesSuperseded
Changes in v3 from the cover letter
- 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
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xfs: define bug_on_assert debug mode sysfs tunablefs/ fs/ fs/ +1 more | +40 | 0 replies | |
| 2/2 | xfs: define fatal assert build time tunablefs/ fs/ fs/ | +22 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Darrick J. Wong |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] xfs: make fatal assert failures conditional in debug mode
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(-)
Signature · 1 line
2.7.4