aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2024-01-13 03:41:28 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2024-02-05 18:58:38 -0800
commitfd244524c2cf07b5f4c3fe8abd6a99225c76544b (patch)
treebd1c546951dca99ff0e7cc075ce8c332aadc83b2 /tools/perf/scripts/python/event_analyzing_sample.py
parentf2fs: compress: fix to guarantee persisting compressed blocks by CP (diff)
downloadlinux-fd244524c2cf07b5f4c3fe8abd6a99225c76544b.tar.gz
linux-fd244524c2cf07b5f4c3fe8abd6a99225c76544b.zip
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 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions