Commit 02a1ce0c authored by Chao Yu's avatar Chao Yu Committed by Todd Kjos
Browse files

FROMGIT: f2fs: compress: fix to guarantee persisting compressed blocks by CP



If data block in compressed cluster is not persisted with metadata
during checkpoint, after SPOR, the data may be corrupted, let's
guarantee to write compressed page by checkpoint.

Fixes: 4c8ff709 ("f2fs: support data compression")
Reviewed-by: default avatarDaeho Jeong <daehojeong@google.com>
Signed-off-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>

Bug: 313549450
(cherry picked from commit 8a430dd4
 https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git

 dev)
Change-Id: Ie52d0bc7d89ec3111f1f6e8140555358620e875c
Signed-off-by: default avatarDaeho Jeong <daehojeong@google.com>
parent 139e9a0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment