]> 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)
commit92f7680592373c8fe52701c66026c6e1c9b3c2e2
tree2e8d7688645f7c0ceba13986f7e8e622e583b322
parentac65f9e561042299a044be9032b1fd9fac6c2967
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: 68b0d5568414 ("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