"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fs: ext4fs: add CONFIG_EXT4_MAX_JOURNAL_ENTRIES to Kconfig

Add maximum ext4 journal entries to Kconfig. It is necessary since the
number of journal entries is proportional to disk capacity. For example,
an ext4 4TB HDD partition could require approximately 500 entries.

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>

authored by

Tony Dinh and committed by
Tom Rini
8c599da5 1f8fd9d3

+9 -1
+8
fs/ext4/Kconfig
··· 12 12 help 13 13 This provides support for creating and writing new files to an 14 14 existing ext4 filesystem partition. 15 + 16 + config EXT4_MAX_JOURNAL_ENTRIES 17 + int "Maximum numbers of journal entries for ext4 filesystem" 18 + default 100 19 + depends on EXT4_WRITE 20 + help 21 + This provides support for allocating the maximum number of 22 + journal entries in disks formatted with ext4 filesysyem.
+1 -1
fs/ext4/ext4_journal.h
··· 38 38 #define EXT3_JOURNAL_FLAG_LAST_TAG 8 39 39 40 40 /* Maximum entries in 1 journal transaction */ 41 - #define MAX_JOURNAL_ENTRIES 100 41 + #define MAX_JOURNAL_ENTRIES CONFIG_EXT4_MAX_JOURNAL_ENTRIES 42 42 struct journal_log { 43 43 char *buf; 44 44 int blknr;