]> www.infradead.org Git - users/dwmw2/linux.git/commit
f2fs: handle decompress only post processing in softirq
authorDaeho Jeong <daehojeong@google.com>
Tue, 2 Aug 2022 19:24:37 +0000 (12:24 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 5 Aug 2022 11:18:31 +0000 (04:18 -0700)
commitbff139b49d9f70c1ac5384aac94554846aa834de
tree3d1ac6c71e5017d770cad62e901845216a45fe02
parent90be48bd9d29ece3965e5e8b21499b6db166e57b
f2fs: handle decompress only post processing in softirq

Now decompression is being handled in workqueue and it makes read I/O
latency non-deterministic, because of the non-deterministic scheduling
nature of workqueues. So, I made it handled in softirq context only if
possible, not in low memory devices, since this modification will
maintain decompresion related memory a little longer.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c
fs/f2fs/data.c
fs/f2fs/f2fs.h