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>
Showing
- fs/ext4/Makefile 1 addition, 1 deletionfs/ext4/Makefile
- fs/ext4/ext4.h 4 additions, 0 deletionsfs/ext4/ext4.h
- fs/ext4/fast_commit.c 20 additions, 0 deletionsfs/ext4/fast_commit.c
- fs/ext4/fast_commit.h 9 additions, 0 deletionsfs/ext4/fast_commit.h
- fs/ext4/super.c 1 addition, 0 deletionsfs/ext4/super.c
- fs/jbd2/journal.c 48 additions, 5 deletionsfs/jbd2/journal.c
- include/linux/jbd2.h 39 additions, 0 deletionsinclude/linux/jbd2.h
Loading
Please register or sign in to comment