mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
![Paul Gortmaker](/assets/img/avatar_default.png)
Commit b6e96d0067
("jbd2: use module parameters instead of debugfs
for jbd_debug") removed any need for a dependency on DEBUG_FS. It
also moved the /sys variables out from underneath the typical debugfs
mount point. Delete the dependency and update the /sys path to where
the debug settings are currently.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
35 lines
1.4 KiB
Text
35 lines
1.4 KiB
Text
config JBD2
|
|
tristate
|
|
select CRC32
|
|
select CRYPTO
|
|
select CRYPTO_CRC32C
|
|
help
|
|
This is a generic journaling layer for block devices that support
|
|
both 32-bit and 64-bit block numbers. It is currently used by
|
|
the ext4 and OCFS2 filesystems, but it could also be used to add
|
|
journal support to other file systems or block devices such
|
|
as RAID or LVM.
|
|
|
|
If you are using ext4 or OCFS2, you need to say Y here.
|
|
If you are not using ext4 or OCFS2 then you will
|
|
probably want to say N.
|
|
|
|
To compile this device as a module, choose M here. The module will be
|
|
called jbd2. If you are compiling ext4 or OCFS2 into the kernel,
|
|
you cannot compile this code as a module.
|
|
|
|
config JBD2_DEBUG
|
|
bool "JBD2 (ext4) debugging support"
|
|
depends on JBD2
|
|
help
|
|
If you are using the ext4 journaled file system (or
|
|
potentially any other filesystem/device using JBD2), this option
|
|
allows you to enable debugging output while the system is running,
|
|
in order to help track down any problems you are having.
|
|
By default, the debugging output will be turned off.
|
|
|
|
If you select Y here, then you will be able to turn on debugging
|
|
with "echo N > /sys/module/jbd2/parameters/jbd2_debug", where N is a
|
|
number between 1 and 5. The higher the number, the more debugging
|
|
output is generated. To turn debugging off again, do
|
|
"echo 0 > /sys/module/jbd2/parameters/jbd2_debug".
|