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