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