All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] backup: discard-source parameter
@ 2022-03-31 19:56 Vladimir Sementsov-Ogievskiy
  2022-03-31 19:56 ` [PATCH 1/3] block/copy-before-write: create block_copy bitmap in filter node Vladimir Sementsov-Ogievskiy
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2022-03-31 19:56 UTC (permalink / raw)
  To: qemu-block
  Cc: kwolf, v.sementsov-og, wencongyang2, xiechanglong.d, qemu-devel,
	armbru, jsnow, hreitz, Vladimir Sementsov-Ogievskiy, eblake

Hi all!

Here is a new option for backup, that brings two things into
push-backup-with-fleecing scheme:

 - discard copied region in temporary image to save disk space
 - avoid extra copy-before-write operation in the region that is already
   copied

This is based on
"[PATCH v5 00/45] Transactional block-graph modifying API"
Based-on: <20220330212902.590099-1-vsementsov@openvz.org>

Vladimir Sementsov-Ogievskiy (3):
  block/copy-before-write: create block_copy bitmap in filter node
  qapi: blockdev-backup: add discard-source parameter
  iotests: add backup-discard-source

 block/backup.c                                |   5 +-
 block/block-copy.c                            |  13 +-
 block/copy-before-write.c                     |   4 +-
 block/replication.c                           |   4 +-
 blockdev.c                                    |   2 +-
 include/block/block-copy.h                    |   3 +-
 include/block/block_int-global-state.h        |   2 +-
 qapi/block-core.json                          |   4 +
 tests/qemu-iotests/257.out                    | 112 ++++++-------
 .../qemu-iotests/tests/backup-discard-source  | 154 ++++++++++++++++++
 .../tests/backup-discard-source.out           |   5 +
 11 files changed, 240 insertions(+), 68 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/backup-discard-source
 create mode 100644 tests/qemu-iotests/tests/backup-discard-source.out

-- 
2.35.1



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

end of thread, other threads:[~2024-01-12 15:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 19:56 [PATCH 0/3] backup: discard-source parameter Vladimir Sementsov-Ogievskiy
2022-03-31 19:56 ` [PATCH 1/3] block/copy-before-write: create block_copy bitmap in filter node Vladimir Sementsov-Ogievskiy
2022-03-31 19:57 ` [PATCH 2/3] qapi: blockdev-backup: add discard-source parameter Vladimir Sementsov-Ogievskiy
2024-01-11 15:19   ` Fiona Ebner
2024-01-12 15:46     ` Vladimir Sementsov-Ogievskiy
2022-03-31 19:57 ` [PATCH 3/3] iotests: add backup-discard-source Vladimir Sementsov-Ogievskiy

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.