ext4 / jbd2: add fast commit initialization
authorHarshad Shirwadkar <harshadshirwadkar@gmail.com>
Thu, 15 Oct 2020 20:37:55 +0000 (13:37 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Oct 2020 03:22:26 +0000 (23:22 -0400)
commit6866d7b3f2bb4f011041ba54c98b1584497fe2fd
tree4ae01bbb3dc62134eaaea5e8324da97bcb117224
parent995a3ed67fc8c0e3301a770016fb66f1bbf15ec8
ext4 / jbd2: add fast commit initialization

This patch adds fast commit area trackers in the journal_t
structure. These are initialized via the jbd2_fc_init() routine that
this patch adds. This patch also adds ext4/fast_commit.c and
ext4/fast_commit.h files for fast commit code that will be added in
subsequent patches in this series.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20201015203802.3597742-4-harshadshirwadkar@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/Makefile
fs/ext4/ext4.h
fs/ext4/fast_commit.c [new file with mode: 0644]
fs/ext4/fast_commit.h [new file with mode: 0644]
fs/ext4/super.c
fs/jbd2/journal.c
include/linux/jbd2.h