diff options
author | Mateusz Guzik <mjguzik@gmail.com> | 2025-02-09 19:55:20 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-02-21 10:23:53 +0100 |
commit | 8b17e540969a0983abe96ffc352397890ab67bf1 (patch) | |
tree | 9bb0f153070348ba36edb863e3ff498d115b780f /lib/Kconfig.debug | |
parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) |
vfs: add initial support for CONFIG_DEBUG_VFS
Small collection of macros taken from mmdebug.h
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20250209185523.745956-2-mjguzik@gmail.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 1af972a92d06..c08ce985c482 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -808,6 +808,15 @@ config ARCH_HAS_DEBUG_VM_PGTABLE An architecture should select this when it can successfully build and run DEBUG_VM_PGTABLE. +config DEBUG_VFS + bool "Debug VFS" + depends on DEBUG_KERNEL + help + Enable this to turn on extended checks in the VFS layer that may impact + performance. + + If unsure, say N. + config DEBUG_VM_IRQSOFF def_bool DEBUG_VM && !PREEMPT_RT |