qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Denis V. Lunev" <den@openvz.org>
To: qemu-devel@nongnu.org
Cc: Pavel Butsykin <pbutsykin@virtuozzo.com>,
	Jeff Cody <jcody@redhat.com>,
	Markus Armbruster <armbru@redhat.com>,
	Eric Blake <eblake@redhat.com>, John Snow <jsnow@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] [PATCH for 2.7 v2 0/3] backup compression
Date: Wed, 27 Apr 2016 11:56:54 +0300	[thread overview]
Message-ID: <57207ED6.1080508@openvz.org> (raw)
In-Reply-To: <1461738542-8286-1-git-send-email-den@openvz.org>

On 04/27/2016 09:28 AM, Denis V. Lunev wrote:
> The idea is simple - backup is "written-once" data. It is written block
> by block and it is large enough. It would be nice to save storage
> space and compress it.
>
> These patches add the ability to compress data during backup. This
> functionality is implemented by means of adding options to the qmp/hmp
> commands(drive-backup, blockdev-backup). The implementation is quite
> simple, because the responsibility for data compression imposed on the
> format driver.
>
> Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
> Signed-off-by: Denis V. Lunev <den@openvz.org>
> CC: Jeff Cody <jcody@redhat.com>
> CC: Markus Armbruster <armbru@redhat.com>
> CC: Eric Blake <eblake@redhat.com>
> CC: John Snow <jsnow@redhat.com>
> CC: Stefan Hajnoczi <stefanha@redhat.com>
>
> Changes from v1:
> - added unittest for backup compression (3)
>
> Pavel Butsykin (3):
>    drive-backup: added support for data compression
>    blockdev-backup: added support for data compression
>    qemu-iotests: test backup compression in 055
>
>   block/backup.c                | 13 ++++++
>   blockdev.c                    | 20 ++++++++-
>   hmp-commands.hx               |  8 ++--
>   hmp.c                         |  3 +-
>   include/block/block_int.h     |  1 +
>   qapi/block-core.json          |  3 +-
>   qmp-commands.hx               |  7 +++-
>   tests/qemu-iotests/055        | 97 +++++++++++++++++++++++++++++++++++++++++++
>   tests/qemu-iotests/055.out    |  4 +-
>   tests/qemu-iotests/iotests.py | 10 ++---
>   10 files changed, 150 insertions(+), 16 deletions(-)
>
pls do not spend the time with this at the moment.
Locking and some other stuff should be re-worked.

Thank you.

Den

      parent reply	other threads:[~2016-04-27  8:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-27  6:28 [Qemu-devel] [PATCH for 2.7 v2 0/3] backup compression Denis V. Lunev
2016-04-27  6:29 ` [Qemu-devel] [PATCH v2 1/3] drive-backup: added support for data compression Denis V. Lunev
2016-04-27  6:29 ` [Qemu-devel] [PATCH v2 2/3] blockdev-backup: " Denis V. Lunev
2016-04-27  6:29 ` [Qemu-devel] [PATCH v2 3/3] qemu-iotests: test backup compression in 055 Denis V. Lunev
2016-04-27  8:56 ` Denis V. Lunev [this message]

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=57207ED6.1080508@openvz.org \
    --to=den@openvz.org \
    --cc=armbru@redhat.com \
    --cc=eblake@redhat.com \
    --cc=jcody@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=pbutsykin@virtuozzo.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).