From: Markus Armbruster <armbru@redhat.com>
To: Juan Quintela <quintela@redhat.com>
Cc: qemu-devel@nongnu.org, "Fam Zheng" <fam@euphon.net>,
"Eric Blake" <eblake@redhat.com>,
libvir-list@redhat.com, "Leonardo Bras" <leobras@redhat.com>,
"Daniel P . Berrangé" <berrange@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Fabiano Rosas" <farosas@suse.de>, "Peter Xu" <peterx@redhat.com>,
qemu-block@nongnu.org, "Thomas Huth" <thuth@redhat.com>
Subject: Re: [PATCH v3 4/4] migration: Deprecate old compression method
Date: Thu, 12 Oct 2023 12:06:22 +0200 [thread overview]
Message-ID: <87jzrsyx29.fsf@pond.sub.org> (raw)
In-Reply-To: <20231011204711.9744-5-quintela@redhat.com> (Juan Quintela's message of "Wed, 11 Oct 2023 22:47:11 +0200")
Juan Quintela <quintela@redhat.com> writes:
> Signed-off-by: Juan Quintela <quintela@redhat.com>
> Acked-by: Peter Xu <peterx@redhat.com>
> ---
> docs/about/deprecated.rst | 8 +++
> qapi/migration.json | 102 ++++++++++++++++++++++++--------------
> migration/options.c | 13 +++++
> 3 files changed, 86 insertions(+), 37 deletions(-)
>
> diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
> index e46f3df376..b92621996f 100644
> --- a/docs/about/deprecated.rst
> +++ b/docs/about/deprecated.rst
> @@ -441,3 +441,11 @@ Please see "QMP invocation for live storage migration with
> ``driver-mirror`` + NBD" in docs/interop/live-block-operations.rst for
> a detailed explanation.
>
> +old compression method (since 8.2)
> +''''''''''''''''''''''''''''''''''
> +
> +Compression method fails too much. Too many races. We are going to
> +remove it if nobody fixes it. For starters, migration-test
> +compression tests are disabled becase they fail randomly. If you need
> +compression, use multifd compression methods.
> +
> diff --git a/qapi/migration.json b/qapi/migration.json
> index bf6e1ac5b5..549306fa76 100644
> --- a/qapi/migration.json
> +++ b/qapi/migration.json
> @@ -243,7 +243,9 @@
> #
> # @compression: migration compression statistics, only returned if
> # compression feature is on and status is 'active' or 'completed'
> -# (Since 3.1)
> +# This feature is unreliable and not tested. It is recommended to
> +# use multifd migration instead, which offers an alternative
> +# reliable and tested compression implementation. (Since 3.1)
> #
> # @socket-address: Only used for tcp, to know what the real port is
> # (Since 4.0)
> @@ -271,8 +273,11 @@
> #
> # Features:
> #
> -# @deprecated: @disk migration is deprecated. Use driver-mirror
> -# with NBD instead.
> +# @deprecated: @disk migration is deprecated. Use driver-mirror with
> +# NBD instead. @compression is unreliable and untested. It is
> +# recommended to use multifd migration, which offers an
> +# alternative compression implementation that is reliable and
> +# tested.
Again, single deprecation note under "Features:", please.
> #
> # Since: 0.14
> ##
> @@ -290,7 +295,7 @@
> '*blocked-reasons': ['str'],
> '*postcopy-blocktime': 'uint32',
> '*postcopy-vcpu-blocktime': ['uint32'],
> - '*compression': 'CompressionStats',
> + '*compression': { 'type': 'CompressionStats', 'features': ['deprecated'] },
> '*socket-address': ['SocketAddress'],
> '*dirty-limit-throttle-time-per-round': 'uint64',
> '*dirty-limit-ring-full-time': 'uint64'} }
> @@ -445,7 +450,8 @@
> # compress and xbzrle are both on, compress only takes effect in
> # the ram bulk stage, after that, it will be disabled and only
> # xbzrle takes effect, this can help to minimize migration
> -# traffic. The feature is disabled by default. (since 2.4 )
> +# traffic. The feature is disabled by default. Obsolete. Use
Some places call it "deprecated", others "obsolete". Best to always use
"deprecated".
More of the same below.
> +# multifd compression methods if needed. (since 2.4 )
> #
> # @events: generate events for each migration state change (since 2.4
> # )
[...]
Migration has grown way too many options. Thanks for pruning them back
some.
next prev parent reply other threads:[~2023-10-12 10:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-11 20:47 [PATCH v3 0/4] Migration deprecated parts Juan Quintela
2023-10-11 20:47 ` [PATCH v3 1/4] migration: migrate 'inc' command option is deprecated Juan Quintela
2023-10-12 9:52 ` Markus Armbruster
2023-10-12 10:50 ` Juan Quintela
2023-10-11 20:47 ` [PATCH v3 2/4] migration: migrate 'blk' " Juan Quintela
2023-10-11 20:47 ` [PATCH v3 3/4] migration: Deprecate block migration Juan Quintela
2023-10-12 10:01 ` Markus Armbruster
2023-10-12 11:06 ` Kevin Wolf
2023-10-12 12:04 ` Juan Quintela
2023-10-11 20:47 ` [PATCH v3 4/4] migration: Deprecate old compression method Juan Quintela
2023-10-12 10:06 ` Markus Armbruster [this message]
2023-10-12 12:14 ` Juan Quintela
2023-10-11 21:02 ` [PATCH v3 0/4] Migration deprecated parts Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzrsyx29.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=eblake@redhat.com \
--cc=fam@euphon.net \
--cc=farosas@suse.de \
--cc=leobras@redhat.com \
--cc=libvir-list@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=stefanha@redhat.com \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.