xref: /OK3568_Linux_fs/kernel/fs/jbd2/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunconfig JBD2
3*4882a593Smuzhiyun	tristate
4*4882a593Smuzhiyun	select CRC32
5*4882a593Smuzhiyun	select CRYPTO
6*4882a593Smuzhiyun	select CRYPTO_CRC32C
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  This is a generic journaling layer for block devices that support
9*4882a593Smuzhiyun	  both 32-bit and 64-bit block numbers.  It is currently used by
10*4882a593Smuzhiyun	  the ext4 and OCFS2 filesystems, but it could also be used to add
11*4882a593Smuzhiyun	  journal support to other file systems or block devices such
12*4882a593Smuzhiyun	  as RAID or LVM.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun	  If you are using ext4 or OCFS2, you need to say Y here.
15*4882a593Smuzhiyun	  If you are not using ext4 or OCFS2 then you will
16*4882a593Smuzhiyun	  probably want to say N.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun	  To compile this device as a module, choose M here. The module will be
19*4882a593Smuzhiyun	  called jbd2.  If you are compiling ext4 or OCFS2 into the kernel,
20*4882a593Smuzhiyun	  you cannot compile this code as a module.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunconfig JBD2_DEBUG
23*4882a593Smuzhiyun	bool "JBD2 (ext4) debugging support"
24*4882a593Smuzhiyun	depends on JBD2
25*4882a593Smuzhiyun	help
26*4882a593Smuzhiyun	  If you are using the ext4 journaled file system (or
27*4882a593Smuzhiyun	  potentially any other filesystem/device using JBD2), this option
28*4882a593Smuzhiyun	  allows you to enable debugging output while the system is running,
29*4882a593Smuzhiyun	  in order to help track down any problems you are having.
30*4882a593Smuzhiyun	  By default, the debugging output will be turned off.
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun	  If you select Y here, then you will be able to turn on debugging
33*4882a593Smuzhiyun	  with "echo N > /sys/module/jbd2/parameters/jbd2_debug", where N is a
34*4882a593Smuzhiyun	  number between 1 and 5. The higher the number, the more debugging
35*4882a593Smuzhiyun	  output is generated.  To turn debugging off again, do
36*4882a593Smuzhiyun	  "echo 0 > /sys/module/jbd2/parameters/jbd2_debug".
37