blob: 5a9f5534d57be626cd4d723ee93aec6375faac62 [file] [log] [blame]
Alexey Dobriyan6da0b382008-10-20 22:28:45 +04001config JBD2
2 tristate
3 select CRC32
Darrick J. Wong01b5adc2012-05-27 07:50:56 -04004 select CRYPTO
5 select CRYPTO_CRC32C
Alexey Dobriyan6da0b382008-10-20 22:28:45 +04006 help
7 This is a generic journaling layer for block devices that support
8 both 32-bit and 64-bit block numbers. It is currently used by
9 the ext4 and OCFS2 filesystems, but it could also be used to add
10 journal support to other file systems or block devices such
11 as RAID or LVM.
12
13 If you are using ext4 or OCFS2, you need to say Y here.
14 If you are not using ext4 or OCFS2 then you will
15 probably want to say N.
16
17 To compile this device as a module, choose M here. The module will be
18 called jbd2. If you are compiling ext4 or OCFS2 into the kernel,
19 you cannot compile this code as a module.
20
21config JBD2_DEBUG
22 bool "JBD2 (ext4) debugging support"
Paul Gortmaker75497d02013-06-12 23:07:51 -040023 depends on JBD2
Alexey Dobriyan6da0b382008-10-20 22:28:45 +040024 help
25 If you are using the ext4 journaled file system (or
26 potentially any other filesystem/device using JBD2), this option
27 allows you to enable debugging output while the system is running,
28 in order to help track down any problems you are having.
29 By default, the debugging output will be turned off.
30
31 If you select Y here, then you will be able to turn on debugging
Paul Gortmaker75497d02013-06-12 23:07:51 -040032 with "echo N > /sys/module/jbd2/parameters/jbd2_debug", where N is a
Alexey Dobriyan6da0b382008-10-20 22:28:45 +040033 number between 1 and 5. The higher the number, the more debugging
34 output is generated. To turn debugging off again, do
Paul Gortmaker75497d02013-06-12 23:07:51 -040035 "echo 0 > /sys/module/jbd2/parameters/jbd2_debug".