diff options
| author | 2024-01-13 03:41:28 +0800 | |
|---|---|---|
| committer | 2024-02-05 18:58:38 -0800 | |
| commit | fd244524c2cf07b5f4c3fe8abd6a99225c76544b (patch) | |
| tree | bd1c546951dca99ff0e7cc075ce8c332aadc83b2 /scripts/Makefile.thinlto | |
| parent | f2fs: compress: fix to guarantee persisting compressed blocks by CP (diff) | |
f2fs: compress: fix to cover normal cluster write with cp_rwsem
When we overwrite compressed cluster w/ normal cluster, we should
not unlock cp_rwsem during f2fs_write_raw_pages(), otherwise data
will be corrupted if partial blocks were persisted before CP & SPOR,
due to cluster metadata wasn't updated atomically.
Fixes: 4c8ff7095bef ("f2fs: support data compression")
Reviewed-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
