qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v9 0/3] qcow2: advanced compression options
@ 2019-11-26 14:43 Andrey Shinkevich
  2019-11-26 14:43 ` [PATCH v9 1/3] block: introduce compress filter driver Andrey Shinkevich
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andrey Shinkevich @ 2019-11-26 14:43 UTC (permalink / raw)
  To: qemu-devel, qemu-block
  Cc: kwolf, vsementsov, armbru, mreitz, andrey.shinkevich, den

The compression filter driver is introduced as suggested by Max.
A sample usage of the filter can be found in the test #214.
Now, multiple clusters can be written compressed.
It is useful for the backup job.

v9: The filter functions unrelated to the 'file' child were removed.
    The check for compression support in bs->file is checked in the
    compress_open().

  Discussed in the email thread with the message ID
  <1574056144-625164-1-git-send-email-andrey.shinkevich@virtuozzo.com>

Andrey Shinkevich (3):
  block: introduce compress filter driver
  qcow2: Allow writing compressed data of multiple clusters
  tests/qemu-iotests: add case to write compressed data of multiple
    clusters

 block/Makefile.objs        |   1 +
 block/filter-compress.c    | 190 +++++++++++++++++++++++++++++++++++++++++++++
 block/qcow2.c              | 102 +++++++++++++++++-------
 qapi/block-core.json       |  10 ++-
 tests/qemu-iotests/214     |  43 ++++++++++
 tests/qemu-iotests/214.out |  14 ++++
 6 files changed, 329 insertions(+), 31 deletions(-)
 create mode 100644 block/filter-compress.c

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-11-27 15:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-26 14:43 [PATCH v9 0/3] qcow2: advanced compression options Andrey Shinkevich
2019-11-26 14:43 ` [PATCH v9 1/3] block: introduce compress filter driver Andrey Shinkevich
2019-11-26 15:51   ` Eric Blake
2019-11-27 14:01   ` Max Reitz
2019-11-26 14:43 ` [PATCH v9 2/3] qcow2: Allow writing compressed data of multiple clusters Andrey Shinkevich
2019-11-27 14:52   ` Max Reitz
2019-11-26 14:43 ` [PATCH v9 3/3] tests/qemu-iotests: add case to write " Andrey Shinkevich
2019-11-27 15:17   ` Max Reitz

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).