aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorhuangjianan@oppo.com <huangjianan@oppo.com>2021-03-01 12:58:44 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2021-03-12 13:16:43 -0800
commit36e4d95891ed37eb98a660babec749be3fb35fd9 (patch)
treee4567a189009818881cacb4766f8bb06c9de06d4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent1da66103837077df70ddf7a49c46dfd025001a60 (diff)
f2fs: check if swapfile is section-alligned
If the swapfile isn't created by pin and fallocate, it can't be guaranteed section-aligned, so it may be selected by f2fs gc. When gc_pin_file_threshold is reached, the address of swapfile may change, but won't be synchronized to swap_extent, so swap will write to wrong address, which will cause data corruption. Signed-off-by: Huang Jianan <huangjianan@oppo.com> Signed-off-by: Guo Weichao <guoweichao@oppo.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions