From: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
To: qemu-block@nongnu.org
Cc: qemu-devel@nongnu.org, armbru@redhat.com,
xiechanglong.d@gmail.com, wencongyang2@huawei.com,
eblake@redhat.com, hreitz@redhat.com, kwolf@redhat.com,
jsnow@redhat.com
Subject: Re: [PATCH v2 00/19] Make image fleecing more usable
Date: Wed, 22 Sep 2021 10:45:47 +0300 [thread overview]
Message-ID: <87a2d181-55b2-6a23-5499-5d82b2144e33@virtuozzo.com> (raw)
In-Reply-To: <20210827181808.311670-1-vsementsov@virtuozzo.com>
ping )
27.08.2021 21:17, Vladimir Sementsov-Ogievskiy wrote:
> Hi all!
>
> That continues "[PATCH RFC DRAFT 00/11] Make image fleecing more usable"
> and supersedes "[PATCH v2 for-6.2 0/6] push backup with fleecing"
>
> Supersedes: <20210804131750.127574-1-vsementsov@virtuozzo.com>
> Supersedes: <20210721140424.163701-1-vsementsov@virtuozzo.com>
>
> There several improvements to fleecing scheme:
>
> 1. support bitmap in copy-before-write filter
>
> 2. introduce fleecing block driver, which opens the door for a lot of
> image fleecing improvements.
> See "block: introduce fleecing block driver" commit message for
> details.
>
> 3. support "push backup with fleecing" scheme, when backup job is a
> client of common fleecing scheme. That helps when writes to final
> backup target are slow and we don't want guest writes hang waiting
> for copy-before-write operations to final target.
>
> Vladimir Sementsov-Ogievskiy (19):
> block/block-copy: move copy_bitmap initialization to
> block_copy_state_new()
> block/dirty-bitmap: bdrv_merge_dirty_bitmap(): add return value
> block/block-copy: block_copy_state_new(): add bitmap parameter
> block/copy-before-write: add bitmap open parameter
> block/block-copy: add block_copy_reset()
> block: intoduce reqlist
> block/dirty-bitmap: introduce bdrv_dirty_bitmap_status()
> block/reqlist: add reqlist_wait_all()
> block: introduce FleecingState class
> block: introduce fleecing block driver
> block/copy-before-write: support fleecing block driver
> block/block-copy: add write-unchanged mode
> block/copy-before-write: use write-unchanged in fleecing mode
> iotests/image-fleecing: add test-case for fleecing format node
> iotests.py: add qemu_io_pipe_and_status()
> iotests/image-fleecing: add test case with bitmap
> block: blk_root(): return non-const pointer
> qapi: backup: add immutable-source parameter
> iotests/image-fleecing: test push backup with fleecing
>
> qapi/block-core.json | 39 ++-
> block/fleecing.h | 151 ++++++++++++
> include/block/block-copy.h | 4 +-
> include/block/block_int.h | 1 +
> include/block/dirty-bitmap.h | 4 +-
> include/block/reqlist.h | 75 ++++++
> include/qemu/hbitmap.h | 11 +
> include/sysemu/block-backend.h | 2 +-
> block/backup.c | 61 ++++-
> block/block-backend.c | 2 +-
> block/block-copy.c | 157 +++++-------
> block/copy-before-write.c | 70 +++++-
> block/dirty-bitmap.c | 15 +-
> block/fleecing-drv.c | 260 ++++++++++++++++++++
> block/fleecing.c | 182 ++++++++++++++
> block/monitor/bitmap-qmp-cmds.c | 5 +-
> block/replication.c | 2 +-
> block/reqlist.c | 84 +++++++
> blockdev.c | 1 +
> util/hbitmap.c | 36 +++
> MAINTAINERS | 7 +-
> block/meson.build | 3 +
> tests/qemu-iotests/iotests.py | 4 +
> tests/qemu-iotests/tests/image-fleecing | 178 +++++++++++---
> tests/qemu-iotests/tests/image-fleecing.out | 221 ++++++++++++++++-
> 25 files changed, 1420 insertions(+), 155 deletions(-)
> create mode 100644 block/fleecing.h
> create mode 100644 include/block/reqlist.h
> create mode 100644 block/fleecing-drv.c
> create mode 100644 block/fleecing.c
> create mode 100644 block/reqlist.c
>
--
Best regards,
Vladimir
prev parent reply other threads:[~2021-09-22 7:47 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-27 18:17 [PATCH v2 00/19] Make image fleecing more usable Vladimir Sementsov-Ogievskiy
2021-08-27 18:17 ` [PATCH v2 01/19] block/block-copy: move copy_bitmap initialization to block_copy_state_new() Vladimir Sementsov-Ogievskiy
2021-08-27 18:17 ` [PATCH v2 02/19] block/dirty-bitmap: bdrv_merge_dirty_bitmap(): add return value Vladimir Sementsov-Ogievskiy
2021-08-27 18:17 ` [PATCH v2 03/19] block/block-copy: block_copy_state_new(): add bitmap parameter Vladimir Sementsov-Ogievskiy
2021-08-27 18:17 ` [PATCH v2 04/19] block/copy-before-write: add bitmap open parameter Vladimir Sementsov-Ogievskiy
2021-08-27 18:17 ` [PATCH v2 05/19] block/block-copy: add block_copy_reset() Vladimir Sementsov-Ogievskiy
2021-08-27 18:17 ` [PATCH v2 06/19] block: intoduce reqlist Vladimir Sementsov-Ogievskiy
2021-08-27 18:17 ` [PATCH v2 07/19] block/dirty-bitmap: introduce bdrv_dirty_bitmap_status() Vladimir Sementsov-Ogievskiy
2021-08-27 18:17 ` [PATCH v2 08/19] block/reqlist: add reqlist_wait_all() Vladimir Sementsov-Ogievskiy
2021-08-27 18:17 ` [PATCH v2 09/19] block: introduce FleecingState class Vladimir Sementsov-Ogievskiy
2021-08-27 18:17 ` [PATCH v2 10/19] block: introduce fleecing block driver Vladimir Sementsov-Ogievskiy
2021-09-01 11:44 ` Markus Armbruster
2021-09-03 13:29 ` Vladimir Sementsov-Ogievskiy
2021-08-27 18:18 ` [PATCH v2 11/19] block/copy-before-write: support " Vladimir Sementsov-Ogievskiy
2021-08-27 18:18 ` [PATCH v2 12/19] block/block-copy: add write-unchanged mode Vladimir Sementsov-Ogievskiy
2021-08-27 18:18 ` [PATCH v2 13/19] block/copy-before-write: use write-unchanged in fleecing mode Vladimir Sementsov-Ogievskiy
2021-08-27 18:18 ` [PATCH v2 14/19] iotests/image-fleecing: add test-case for fleecing format node Vladimir Sementsov-Ogievskiy
2021-08-27 18:18 ` [PATCH v2 15/19] iotests.py: add qemu_io_pipe_and_status() Vladimir Sementsov-Ogievskiy
2021-08-27 18:18 ` [PATCH v2 16/19] iotests/image-fleecing: add test case with bitmap Vladimir Sementsov-Ogievskiy
2021-08-27 18:18 ` [PATCH v2 17/19] block: blk_root(): return non-const pointer Vladimir Sementsov-Ogievskiy
2021-08-27 18:18 ` [PATCH v2 18/19] qapi: backup: add immutable-source parameter Vladimir Sementsov-Ogievskiy
2021-09-01 11:47 ` Markus Armbruster
2021-08-27 18:18 ` [PATCH v2 19/19] iotests/image-fleecing: test push backup with fleecing Vladimir Sementsov-Ogievskiy
2021-09-22 7:45 ` Vladimir Sementsov-Ogievskiy [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=87a2d181-55b2-6a23-5499-5d82b2144e33@virtuozzo.com \
--to=vsementsov@virtuozzo.com \
--cc=armbru@redhat.com \
--cc=eblake@redhat.com \
--cc=hreitz@redhat.com \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=wencongyang2@huawei.com \
--cc=xiechanglong.d@gmail.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).