From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avLHP-0000jK-Jo for qemu-devel@nongnu.org; Wed, 27 Apr 2016 04:57:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avLHM-00018o-91 for qemu-devel@nongnu.org; Wed, 27 Apr 2016 04:57:07 -0400 Received: from mail-db3on0139.outbound.protection.outlook.com ([157.55.234.139]:42048 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avLHL-00017f-PP for qemu-devel@nongnu.org; Wed, 27 Apr 2016 04:57:04 -0400 References: <1461738542-8286-1-git-send-email-den@openvz.org> From: "Denis V. Lunev" Message-ID: <57207ED6.1080508@openvz.org> Date: Wed, 27 Apr 2016 11:56:54 +0300 MIME-Version: 1.0 In-Reply-To: <1461738542-8286-1-git-send-email-den@openvz.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for 2.7 v2 0/3] backup compression List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Pavel Butsykin , Jeff Cody , Markus Armbruster , Eric Blake , John Snow , Stefan Hajnoczi 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 > Signed-off-by: Denis V. Lunev > CC: Jeff Cody > CC: Markus Armbruster > CC: Eric Blake > CC: John Snow > CC: Stefan Hajnoczi > > 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