[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 4/8] multifd: Add multifd-zlib-level parameter
From: |
Juan Quintela |
Subject: |
Re: [PATCH v5 4/8] multifd: Add multifd-zlib-level parameter |
Date: |
Thu, 30 Jan 2020 09:56:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Markus Armbruster <address@hidden> wrote:
> Juan Quintela <address@hidden> writes:
>
>> It will indicate which level use for compression.
>>
>> Signed-off-by: Juan Quintela <address@hidden>
>
> This is slightly confusing (there is no zlib compression), unless you
> peek at the next patch (which adds zlib compression).
>
> Three ways to make it less confusing:
>
> * Squash the two commits
As a QAPI begginer, I feel it easier to put it in a different patch. It
makes it also easier to add other parameters, just copy whatewer is here.
> * Swap them: first add zlib compression with level hardcoded to 1, then
> make the level configurable.
That could work.
> * Have the first commit explain itself better. Something like
>
> multifd: Add multifd-zlib-level parameter
>
> This parameter specifies zlib compression level. The next patch
> will put it to use.
Will take this approach.
The reason that I put the qapi bits first is that I *know* how to do
them. Once that I got approval for how to add one parameter, I add the
rest exactly the same.
For the rest of the patch, it needs to be developed, and normally needs
more iterations.
>
> For QAPI:
> Acked-by: Markus Armbruster <address@hidden>
Thanks very much.
Later, Juan.
- [PATCH v5 0/8] Multifd Migration Compression, Juan Quintela, 2020/01/29
- [PATCH v5 2/8] migration: Add support for modules, Juan Quintela, 2020/01/29
- [PATCH v5 1/8] multifd: Add multifd-method parameter, Juan Quintela, 2020/01/29
- [PATCH v5 3/8] multifd: Make no compression operations into its own structure, Juan Quintela, 2020/01/29
- [PATCH v5 4/8] multifd: Add multifd-zlib-level parameter, Juan Quintela, 2020/01/29
- [PATCH v5 6/8] configure: Enable test and libs for zstd, Juan Quintela, 2020/01/29
- [PATCH v5 5/8] multifd: Add zlib compression multifd support, Juan Quintela, 2020/01/29
- [PATCH v5 7/8] multifd: Add multifd-zstd-level parameter, Juan Quintela, 2020/01/29
- [PATCH v5 8/8] multifd: Add zstd compression multifd support, Juan Quintela, 2020/01/29