xref: /openbmc/linux/fs/jbd2/Kconfig (revision 75497d06)
16da0b38fSAlexey Dobriyanconfig JBD2
26da0b38fSAlexey Dobriyan	tristate
36da0b38fSAlexey Dobriyan	select CRC32
401b5adceSDarrick J. Wong	select CRYPTO
501b5adceSDarrick J. Wong	select CRYPTO_CRC32C
66da0b38fSAlexey Dobriyan	help
76da0b38fSAlexey Dobriyan	  This is a generic journaling layer for block devices that support
86da0b38fSAlexey Dobriyan	  both 32-bit and 64-bit block numbers.  It is currently used by
96da0b38fSAlexey Dobriyan	  the ext4 and OCFS2 filesystems, but it could also be used to add
106da0b38fSAlexey Dobriyan	  journal support to other file systems or block devices such
116da0b38fSAlexey Dobriyan	  as RAID or LVM.
126da0b38fSAlexey Dobriyan
136da0b38fSAlexey Dobriyan	  If you are using ext4 or OCFS2, you need to say Y here.
146da0b38fSAlexey Dobriyan	  If you are not using ext4 or OCFS2 then you will
156da0b38fSAlexey Dobriyan	  probably want to say N.
166da0b38fSAlexey Dobriyan
176da0b38fSAlexey Dobriyan	  To compile this device as a module, choose M here. The module will be
186da0b38fSAlexey Dobriyan	  called jbd2.  If you are compiling ext4 or OCFS2 into the kernel,
196da0b38fSAlexey Dobriyan	  you cannot compile this code as a module.
206da0b38fSAlexey Dobriyan
216da0b38fSAlexey Dobriyanconfig JBD2_DEBUG
226da0b38fSAlexey Dobriyan	bool "JBD2 (ext4) debugging support"
2375497d06SPaul Gortmaker	depends on JBD2
246da0b38fSAlexey Dobriyan	help
256da0b38fSAlexey Dobriyan	  If you are using the ext4 journaled file system (or
266da0b38fSAlexey Dobriyan	  potentially any other filesystem/device using JBD2), this option
276da0b38fSAlexey Dobriyan	  allows you to enable debugging output while the system is running,
286da0b38fSAlexey Dobriyan	  in order to help track down any problems you are having.
296da0b38fSAlexey Dobriyan	  By default, the debugging output will be turned off.
306da0b38fSAlexey Dobriyan
316da0b38fSAlexey Dobriyan	  If you select Y here, then you will be able to turn on debugging
3275497d06SPaul Gortmaker	  with "echo N > /sys/module/jbd2/parameters/jbd2_debug", where N is a
336da0b38fSAlexey Dobriyan	  number between 1 and 5. The higher the number, the more debugging
346da0b38fSAlexey Dobriyan	  output is generated.  To turn debugging off again, do
3575497d06SPaul Gortmaker	  "echo 0 > /sys/module/jbd2/parameters/jbd2_debug".
36