diff options
author | 2021-04-01 11:01:53 +0800 | |
---|---|---|
committer | 2021-04-06 07:16:22 -0700 | |
commit | a303b0ac920d807cb7da4f1cd85759fbe44fa654 (patch) | |
tree | 4af917ef5aa1e70ca53676c898860bbd3e8ac6ee /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f2fs: set checkpoint_merge by default (diff) | |
download | linux-rng-a303b0ac920d807cb7da4f1cd85759fbe44fa654.tar.xz linux-rng-a303b0ac920d807cb7da4f1cd85759fbe44fa654.zip |
f2fs: fix to avoid GC/mmap race with f2fs_truncate()
It missed to hold i_gc_rwsem and i_map_sem around f2fs_truncate()
in f2fs_file_write_iter() to avoid racing with background GC and
mmap, fix it.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions