]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: commit inline data during fast commit
authorHarshad Shirwadkar <harshadshirwadkar@gmail.com>
Fri, 15 Oct 2021 18:25:12 +0000 (11:25 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Nov 2021 14:34:39 +0000 (10:34 -0400)
commit9eda381a7bff921f037f1a31f7f62071035b02fe
tree9ba0777fe31897e4cc7b8fc15066e62b4605b098
parentad0334824dfac4ec3f858fa265f9e0f9e29f9e8f
ext4: commit inline data during fast commit

During the commit phase in fast commits if an inode with inline data
is being committed, also commit the inline data along with
inode. Since recovery code just blindly copies entire content found in
inode TLV, there is no change needed on the recovery path. Thus, this
change is backward compatiable.

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