RE: [PATCH v5 2/7] migration/multifd: put IOV initialization into compression method

2024-03-20 Thread Liu, Yuan1
> -Original Message- > From: Fabiano Rosas > Sent: Wednesday, March 20, 2024 11:19 PM > To: Liu, Yuan1 ; pet...@redhat.com > Cc: qemu-devel@nongnu.org; hao.xi...@bytedance.com; > bryan.zh...@bytedance.com; Liu, Yuan1 ; Zou, Nanhai > > Subject: Re: [PATCH v5 2/7

Re: [PATCH v5 2/7] migration/multifd: put IOV initialization into compression method

2024-03-20 Thread Fabiano Rosas
Yuan Liu writes: > Different compression methods may require different numbers of IOVs. > Based on streaming compression of zlib and zstd, all pages will be > compressed to a data block, so two IOVs are needed for packet header > and compressed data block. > > Signed-off-by: Yuan Liu >

[PATCH v5 2/7] migration/multifd: put IOV initialization into compression method

2024-03-20 Thread Yuan Liu
Different compression methods may require different numbers of IOVs. Based on streaming compression of zlib and zstd, all pages will be compressed to a data block, so two IOVs are needed for packet header and compressed data block. Signed-off-by: Yuan Liu Reviewed-by: Nanhai Zou ---