commit | a27a361b7e391b46cdb8c7eda01c1f12f2df84c5 | [log] [tgz] |
---|---|---|
author | Daejun Park <daejun7.park@samsung.com> | Wed Jan 06 10:32:42 2021 +0900 |
committer | Harshad Shirwadkar <harshads@google.com> | Thu Jan 28 22:44:14 2021 +0000 |
tree | 48ffd9ce6b6a303c4bb8227850ebc58b39f59f66 | |
parent | 29e36e13993cabae4f5ba5c030b6756f962ffc73 [diff] |
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> (cherry picked from commit e9f53353e166a67dfe4f8295100f8ac39d6cf10b) Change-Id: I4cd2df3c419059fc98dcc4c7e97c297749073d1c Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/10969 Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com> Reviewed-by: Harshad Shirwadkar <harshads@google.com>