1
linux/fs/ubifs
Artem Bityutskiy 81e79d38df UBIFS: switch self-check knobs to debugfs
UBIFS has many built-in self-check functions which can be enabled using the
debug_chks module parameter or the corresponding sysfs file
(/sys/module/ubifs/parameters/debug_chks). However, this is not flexible enough
because it is not per-filesystem. This patch moves this to debugfs interfaces.

We already have debugfs support, so this patch just adds more debugfs files.
While looking at debugfs support I've noticed that it is racy WRT file-system
unmount, and added a TODO entry for that. This problem has been there for long
time and it is quite standard debugfs PITA. The plan is to fix this later.

This patch is simple, but it is large because it changes many places where we
check if a particular type of checks is enabled or disabled.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2011-07-04 10:54:28 +03:00
..
budget.c UBIFS: introduce a separate structure for budgeting info 2011-05-13 19:23:53 +03:00
commit.c UBIFS: lessen amount of debugging check types 2011-07-04 10:54:28 +03:00
compress.c
debug.c UBIFS: switch self-check knobs to debugfs 2011-07-04 10:54:28 +03:00
debug.h UBIFS: switch self-check knobs to debugfs 2011-07-04 10:54:28 +03:00
dir.c UBIFS: introduce helper functions for debugging checks and tests 2011-07-04 10:54:28 +03:00
file.c UBIFS: amend debugging inode size check function prototype 2011-07-04 10:54:27 +03:00
find.c UBIFS: introduce a separate structure for budgeting info 2011-05-13 19:23:53 +03:00
gc.c UBIFS: synchronize write-buffer before switching to the next bud 2011-05-16 10:31:41 +03:00
io.c UBIFS: assert no fixup when writing a node 2011-06-03 18:12:31 +03:00
ioctl.c userns: rename is_owner_or_cap to inode_owner_or_capable 2011-03-23 19:47:13 -07:00
journal.c UBIFS: fix memory leak on error path 2011-06-03 18:12:31 +03:00
Kconfig UBIFS: do not select KALLSYMS_ALL 2011-04-05 10:45:45 +03:00
key.h UBIFS: mark unused key objects as invalid 2010-08-30 10:19:08 +03:00
log.c UBIFS: introduce helper functions for debugging checks and tests 2011-07-04 10:54:28 +03:00
lprops.c UBIFS: introduce helper functions for debugging checks and tests 2011-07-04 10:54:28 +03:00
lpt_commit.c UBIFS: lessen amount of debugging check types 2011-07-04 10:54:28 +03:00
lpt.c UBIFS: introduce helper functions for debugging checks and tests 2011-07-04 10:54:28 +03:00
Makefile
master.c UBIFS: introduce a separate structure for budgeting info 2011-05-13 19:23:53 +03:00
misc.h UBIFS: harmonize znode flag helpers 2011-07-04 10:54:27 +03:00
orphan.c UBIFS: introduce helper functions for debugging checks and tests 2011-07-04 10:54:28 +03:00
recovery.c UBIFS: fix recovery broken by the previous recovery fix 2011-06-01 12:29:06 +03:00
replay.c UBIFS: amend ubifs_recover_leb interface 2011-06-01 12:29:06 +03:00
sb.c UBIFS: add the fixup function 2011-05-16 14:12:15 +03:00
scan.c UBIFS: introduce helper functions for debugging checks and tests 2011-07-04 10:54:28 +03:00
shrinker.c UBIFS: fix shrinker object count reports 2011-06-03 18:12:24 +03:00
super.c UBIFS: minor cleanup: use S_ISREG helper 2011-07-04 10:54:26 +03:00
tnc_commit.c UBIFS: lessen amount of debugging check types 2011-07-04 10:54:28 +03:00
tnc_misc.c
tnc.c UBIFS: introduce helper functions for debugging checks and tests 2011-07-04 10:54:28 +03:00
ubifs-media.h UBIFS: add a superblock flag for free space fix-up 2011-05-16 14:12:14 +03:00
ubifs.h UBIFS: use correct flags in lprops 2011-07-04 10:54:27 +03:00
xattr.c UBIFS: make xattr operations names consistent 2011-05-13 19:23:54 +03:00