]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: make num of fast commit blocks configurable
authorHarshad Shirwadkar <harshadshirwadkar@gmail.com>
Tue, 27 Oct 2020 04:49:14 +0000 (21:49 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 28 Oct 2020 17:42:03 +0000 (13:42 -0400)
commit264e7ddc3a7afe781baa7a3043c66e0ae8c0e018
tree2e8d7688645f7c0ceba13986f7e8e622e583b322
parent11a00aa83ff98143bce5e2dfa14f0cf5fd1bca91
ext4: make num of fast commit blocks configurable

This patch reserves a field in the jbd2 superblock for number of fast
commit blocks. When this value is non-zero, Ext4 uses this field to
set the number of fast commit blocks.

Fixes: 172e266f2ad2 ("ext4/jbd2: add fast commit initialization")
Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20201027044915.2553163-2-harshadshirwadkar@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/fast_commit.c
include/linux/jbd2.h