diff options
author | Harshad Shirwadkar <harshadshirwadkar@gmail.com> | 2020-11-20 21:22:32 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-12-17 19:30:45 +0100 |
commit | 9bd23c31f392bda88618008f27fd52ee9e0fac38 (patch) | |
tree | f49df76debd74e9dac011a19cc59e0668b5247c5 /fs/direct-io.c | |
parent | ext4: make fast_commit.h byte identical with e2fsprogs/fast_commit.h (diff) | |
download | linux-9bd23c31f392bda88618008f27fd52ee9e0fac38.tar.xz linux-9bd23c31f392bda88618008f27fd52ee9e0fac38.zip |
jbd2: add a helper to find out number of fast commit blocks
Add a helper to read number of fast commit blocks from jbd2 superblock
and also rename the JBD2_MIN_FC_BLKS to
JBD2_DEFAULT_FAST_COMMIT_BLOCKS since this constant is just the
default number of fast commit blocks to use in case number of fast
commit blocks isn't set in jbd2 superblock.
Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20201120202232.2240293-2-harshadshirwadkar@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions