From b9ec6d1a52723496b877ce2571ba1e017a746152 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 30 Jan 2021 18:22:52 +0100 Subject: [PATCH] fs: Add subsection on ext4 fast commits. --- Filesystems.m4 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Filesystems.m4 b/Filesystems.m4 index 40dedd1..7750dab 100644 --- a/Filesystems.m4 +++ b/Filesystems.m4 @@ -829,6 +829,27 @@ it's best to make the LV slightly larger than necessary and then enlarge the filesystem to the maximal possible size by running resize2fs(8) without specifying the new size.

+SUBSECTION(«Fast Commits») + +

+ +Optimization introduced in 2020 (Linux-5.10). + +activated at mkfs time + +light-weight journaling method + +Idea: parts of the metadata written to the log can instead be derived +from the inode. Leads to more compact format. + +Implementation: additional journal for fast commits, i.e., for those +operations that can be optimized. Contains changes at the *file* level + +

  • Check /proc/fs/ext4/dev/fc_info to see whether fast +commits are supported in the runing kernel.
  • + +

    + EXERCISES()