Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config JBD2
0003         tristate
0004         select CRC32
0005         select CRYPTO
0006         select CRYPTO_CRC32C
0007         help
0008           This is a generic journaling layer for block devices that support
0009           both 32-bit and 64-bit block numbers.  It is currently used by
0010           the ext4 and OCFS2 filesystems, but it could also be used to add
0011           journal support to other file systems or block devices such
0012           as RAID or LVM.
0013 
0014           If you are using ext4 or OCFS2, you need to say Y here.
0015           If you are not using ext4 or OCFS2 then you will
0016           probably want to say N.
0017 
0018           To compile this device as a module, choose M here. The module will be
0019           called jbd2.  If you are compiling ext4 or OCFS2 into the kernel,
0020           you cannot compile this code as a module.
0021 
0022 config JBD2_DEBUG
0023         bool "JBD2 (ext4) debugging support"
0024         depends on JBD2
0025         help
0026           If you are using the ext4 journaled file system (or
0027           potentially any other filesystem/device using JBD2), this option
0028           allows you to enable debugging output while the system is running,
0029           in order to help track down any problems you are having.
0030           By default, the debugging output will be turned off.
0031 
0032           If you select Y here, then you will be able to turn on debugging
0033           with "echo N > /sys/module/jbd2/parameters/jbd2_debug", where N is a
0034           number between 1 and 5. The higher the number, the more debugging
0035           output is generated.  To turn debugging off again, do
0036           "echo 0 > /sys/module/jbd2/parameters/jbd2_debug".