diff options
author | Chao Yu <[email protected]> | 2024-11-04 09:35:51 +0800 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2024-11-05 18:29:57 +0000 |
commit | 5dd00ebda337b9295e7027691fa70540da369ff2 (patch) | |
tree | c315a19119983fb286f0c0bd240c6f270129afa4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7b0033dbc48340a1c1c3f12448ba17d6587ca092 (diff) |
f2fs: fix to map blocks correctly for direct write
f2fs_map_blocks() supports to map continuous holes or preallocated
address, we should avoid setting F2FS_MAP_MAPPED for these cases
only, otherwise, it may fail f2fs_iomap_begin(), and make direct
write fallbacking to use buffered IO and flush, result in performance
regression.
Fixes: 9f0f6bf42714 ("f2fs: support to map continuous holes or preallocated address")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-lkp/[email protected]
Cc: Cyril Hrubis <[email protected]>
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions