ext4: add docs about fast commit idempotence
authorHarshad Shirwadkar <harshadshirwadkar@gmail.com>
Thu, 19 Nov 2020 23:28:22 +0000 (15:28 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 17 Dec 2020 18:30:44 +0000 (13:30 -0500)
commitb1b7dce3f09b460da38946d1845f3076daa36abb
treeec46376d6e8060f24793ea3a63aac7d6fee2fa75
parent03505c58b86a5ca9bff2a9d611c2fe95dc14f707
ext4: add docs about fast commit idempotence

Fast commit on-disk format is designed such that the replay of these
tags can be idempotent. This patch adds documentation in the code in
form of comments and in form kernel docs that describes these
characteristics. This patch also adds a TODO item needed to ensure
kernel fast commit replay idempotence.

Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20201119232822.1860882-1-harshadshirwadkar@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Documentation/filesystems/ext4/journal.rst
fs/ext4/fast_commit.c