diff options
author | Chao Yu <chao@kernel.org> | 2023-09-04 23:12:42 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-09-12 13:49:34 -0700 |
commit | 943f7c6f987f4a2bd081e76cf68d4c089dc66c65 (patch) | |
tree | 6e88731d6a0c5719d7543e35a70c8d3169616b40 /fs/f2fs/debug.c | |
parent | a4639380bbe66172df329f8b54aa7d2e943f0f64 (diff) |
f2fs: compress: fix to avoid fragment w/ OPU during f2fs_ioc_compress_file()
If file has both cold and compress flag, during f2fs_ioc_compress_file(),
f2fs will trigger IPU for non-compress cluster and OPU for compress
cluster, so that, data of the file may be fragmented.
Fix it by always triggering OPU for IOs from user mode compression.
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/debug.c')
0 files changed, 0 insertions, 0 deletions