]> git.baikalelectronics.ru Git - kernel.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)
commit2eb41f08d615ac70520b5a374563ad7be48b773f
tree3d1ac6c71e5017d770cad62e901845216a45fe02
parent6a8718250f12a1812650da1391fb53cd1b8e6302
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