qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for 2.7 v2 0/3] backup compression


From: Denis V. Lunev
Subject: Re: [Qemu-devel] [PATCH for 2.7 v2 0/3] backup compression
Date: Wed, 27 Apr 2016 11:56:54 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

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 <address@hidden>
Signed-off-by: Denis V. Lunev <address@hidden>
CC: Jeff Cody <address@hidden>
CC: Markus Armbruster <address@hidden>
CC: Eric Blake <address@hidden>
CC: John Snow <address@hidden>
CC: Stefan Hajnoczi <address@hidden>

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]