[PATCH v6] erofs: support deflate decompress by using Intel QAT

Bo Liu (刘波)-浪潮信息 liubo03 at inspur.com
Thu May 22 18:38:41 AEST 2025



>-----Original Message-----
>From: Gao Xiang <hsiangkao at linux.alibaba.com>
>Sent: Thursday, May 22, 2025 4:34 PM
>To: Bo Liu (刘波)-浪潮信息 <liubo03 at inspur.com>; xiang at kernel.org;
>chao at kernel.org
>Cc: linux-erofs at lists.ozlabs.org; linux-kernel at vger.kernel.org
>Subject: Re: [PATCH v6] erofs: support deflate decompress by using Intel QAT
>
>
>
>On 2025/5/22 16:14, Bo Liu wrote:
>
>...
>
>> +
>> +static int __z_erofs_crypto_decompress(struct z_erofs_decompress_req *rq,
>> +				struct crypto_acomp *tfm)
>> +{
>> +	struct sg_table st_src, st_dst;
>> +	struct acomp_req *req;
>> +	struct crypto_wait wait;
>> +	u8 *headpage;
>> +	int ret;
>> +
>> +	headpage = kmap_local_page(*rq->in);
>> +	ret = z_erofs_fixup_insize(rq, headpage + rq->pageofs_in,
>> +				min_t(unsigned int, rq->inputsize,
>> +							rq->sb->s_blocksize - rq->pageofs_in));
>
>Please fix the alignment of this line.
>
>Thanks,
>Gao Xiang

Sorry, I will fix it right now.

Thanks,

Bo Liu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3816 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20250522/a8ae7775/attachment.p7s>


More information about the Linux-erofs mailing list