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