aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSheng Yong <[email protected]>2022-11-11 18:08:29 +0800
committerJaegeuk Kim <[email protected]>2022-11-28 12:48:51 -0800
commit787caf1bdcd9f04058e4e8d8ed56db1dbafea0b7 (patch)
tree3166c62f6926a5451609762ae393b8206030716b /tools/perf/scripts/python/export-to-sqlite.py
parent4ff23a6547b81ca22adb852dfe93ee5fc45328ac (diff)
f2fs: fix to enable compress for newly created file if extension matches
If compress_extension is set, and a newly created file matches the extension, the file could be marked as compression file. However, if inline_data is also enabled, there is no chance to check its extension since f2fs_should_compress() always returns false. This patch moves set_compress_inode(), which do extension check, in f2fs_should_compress() to check extensions before setting inline data flag. Fixes: 7165841d578e ("f2fs: fix to check inline_data during compressed inode conversion") Signed-off-by: Sheng Yong <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions