OSDN Git Service

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)
commit6c31a689b2e9e1dee5cbe16b773648a2d84dfb02
tree9ba0777fe31897e4cc7b8fc15066e62b4605b098
parentafcc4e32f606dbfb47aa7309172c89174b86e74c
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