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