Re: [PATCH v4 2/2] erofs: decompress in endio if possible

2021-03-05 Thread Gao Xiang
On Fri, Mar 05, 2021 at 04:21:42PM +0800, Huang Jianan via Linux-erofs wrote: > z_erofs_decompressqueue_endio may not be executed in the atomic > context, for example, when dm-verity is turned on. In this scenario, > data can be decompressed directly to get rid of additional kworker > scheduling ov

[PATCH v4 2/2] erofs: decompress in endio if possible

2021-03-05 Thread Huang Jianan
z_erofs_decompressqueue_endio may not be executed in the atomic context, for example, when dm-verity is turned on. In this scenario, data can be decompressed directly to get rid of additional kworker scheduling overhead. Also, it makes no sense to apply synchronous decompression for such case. Sig