qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, vsementsov@virtuozzo.com, armbru@redhat.com,
	qemu-devel@nongnu.org, andrey.shinkevich@virtuozzo.com,
	den@openvz.org, mreitz@redhat.com, jsnow@redhat.com
Subject: [PATCH v7 0/4] Apply COR-filter to the block-stream permanently
Date: Mon, 24 Aug 2020 11:31:50 +0300	[thread overview]
Message-ID: <1598257914-887267-1-git-send-email-andrey.shinkevich@virtuozzo.com> (raw)

Note: this series is based on the another one "block: Deal with filters"
      by Max Reitz that could be found in the branches:
      https://git.xanclic.moe/XanClic/qemu child-access-functions-v6
      https://github.com/XanClic/qemu child-access-functions-v6

v7:
  01: A complete reversion of the commit c624b015bf14f "block/stream:
      introduce a bottom node" doesn't make a sense as the patch
      "stream: Deal with filters" replaces the concept of the
      'bottom node' with the one of the 'base_overlay' and the
      'above_base', introduced by Max in the series "block: Deal with
      filters".
  02: #include "block/block-copy.h" was removed.
      The extra "state->active = true" was dropped.
      The comment about the bdrv_child_refresh_perms() supplied.
  03: "filter_node_name = NULL" dropped in the qmp_block_stream().
  04: The comment to the commit was extended with an explanation of
      why the test case 'test_stream_parallel' was removed.
      Due to the v6 review, the initial "char *base_fmt" is kept for
      the final backing file change no more. I urge to keep it.

The v6 Message-Id:
<1597785880-431103-1-git-send-email-andrey.shinkevich@virtuozzo.com>

Andrey Shinkevich (4):
  copy-on-read: Support preadv/pwritev_part functions
  copy-on-read: add filter append/drop functions
  qapi: add filter-node-name to block-stream
  block: apply COR-filter to block-stream jobs

 block/copy-on-read.c           | 132 +++++++++++++++++++++++++++++++++++++----
 block/copy-on-read.h           |  35 +++++++++++
 block/monitor/block-hmp-cmds.c |   4 +-
 block/stream.c                 |  62 ++++++++++++++-----
 blockdev.c                     |   4 +-
 include/block/block_int.h      |   7 ++-
 qapi/block-core.json           |   6 ++
 tests/qemu-iotests/030         |  50 ++--------------
 tests/qemu-iotests/030.out     |   4 +-
 tests/qemu-iotests/245         |  19 ++++--
 10 files changed, 240 insertions(+), 83 deletions(-)
 create mode 100644 block/copy-on-read.h

-- 
1.8.3.1



             reply	other threads:[~2020-08-24  8:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24  8:31 Andrey Shinkevich [this message]
2020-08-24  8:31 ` [PATCH v7 1/4] copy-on-read: Support preadv/pwritev_part functions Andrey Shinkevich
2020-08-24  8:31 ` [PATCH v7 2/4] copy-on-read: add filter append/drop functions Andrey Shinkevich
2020-08-24  8:31 ` [PATCH v7 3/4] qapi: add filter-node-name to block-stream Andrey Shinkevich
2020-08-25  6:37   ` Markus Armbruster
2020-08-25 10:59     ` Andrey Shinkevich
2020-08-24  8:31 ` [PATCH v7 4/4] block: apply COR-filter to block-stream jobs Andrey Shinkevich
2020-08-24 11:30   ` Vladimir Sementsov-Ogievskiy
2020-08-28 16:28     ` Andrey Shinkevich

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=1598257914-887267-1-git-send-email-andrey.shinkevich@virtuozzo.com \
    --to=andrey.shinkevich@virtuozzo.com \
    --cc=armbru@redhat.com \
    --cc=den@openvz.org \
    --cc=jsnow@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=vsementsov@virtuozzo.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).