Commit 72aad418 authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Jaegeuk Kim
Browse files

FROMGIT: f2fs: retry to update the inode page given data corruption



If the storage gives a corrupted node block due to short power failure and
reset, f2fs stops the entire operations by setting the checkpoint failure flag.

Let's give more chances to live by re-issuing IOs for a while in such critical
path.

Bug: 263464787
Bug: 261682528
Cc: stable@vger.kernel.org
Suggested-by: default avatarRandall Huang <huangrandall@google.com>
Suggested-by: default avatarChao Yu <chao@kernel.org>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 0d94ab0aa9d2fbb68d2fe8d116e70293d2884fe1
 https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev)
Change-Id: I2e05a56fd3488085ddc34a8e01e6351c7a30c7e9
parent 8d18f87e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment