Re: [f2fs-dev] [PATCH v2] f2fs: handle decompress only post processing in softirq

From: Chao Yu
Date: Thu Aug 04 2022 - 09:19:35 EST


On 2022/8/3 3:24, Daeho Jeong wrote:
From: Daeho Jeong <daehojeong@xxxxxxxxxx>

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.
---
v1: fixed build errors reported by kernel test robot <lkp@xxxxxxxxx>
v2: enhanced readability and removed a redundant code

Signed-off-by: Daeho Jeong <daehojeong@xxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,