diff options
author | Daejun Park <daejun7.park@samsung.com> | 2021-01-06 10:32:42 +0900 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-01-15 14:41:31 -0500 |
commit | e9f53353e166a67dfe4f8295100f8ac39d6cf10b (patch) | |
tree | 2cd1cc3000ac7ef6b11af4d1295ad3e87d5b1da9 /include | |
parent | 6b4b8e6b4ad8553660421d6360678b3811d5deb9 (diff) | |
download | linux-e9f53353e166a67dfe4f8295100f8ac39d6cf10b.tar.gz linux-e9f53353e166a67dfe4f8295100f8ac39d6cf10b.tar.bz2 linux-e9f53353e166a67dfe4f8295100f8ac39d6cf10b.zip |
ext4: remove expensive flush on fast commit
In the fast commit, it adds REQ_FUA and REQ_PREFLUSH on each fast
commit block when barrier is enabled. However, in recovery phase,
ext4 compares CRC value in the tail. So it is sufficient to add
REQ_FUA and REQ_PREFLUSH on the block that has tail.
Signed-off-by: Daejun Park <daejun7.park@samsung.com>
Reviewed-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20210106013242epcms2p5b6b4ed8ca86f29456fdf56aa580e74b4@epcms2p5
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions