aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
author[email protected] <[email protected]>2021-03-01 12:58:44 +0800
committerJaegeuk Kim <[email protected]>2021-03-12 13:16:43 -0800
commit36e4d95891ed37eb98a660babec749be3fb35fd9 (patch)
treee4567a189009818881cacb4766f8bb06c9de06d4 /tools/perf/scripts/python/export-to-postgresql.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 <[email protected]> Signed-off-by: Guo Weichao <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions