qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/4] Apply COR-filter to the block-stream permanently
@ 2020-08-24  8:31 Andrey Shinkevich
  2020-08-24  8:31 ` [PATCH v7 1/4] copy-on-read: Support preadv/pwritev_part functions Andrey Shinkevich
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Andrey Shinkevich @ 2020-08-24  8:31 UTC (permalink / raw)
  To: qemu-block
  Cc: kwolf, vsementsov, armbru, qemu-devel, andrey.shinkevich, den,
	mreitz, jsnow

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



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

end of thread, other threads:[~2020-08-28 16:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-24  8:31 [PATCH v7 0/4] Apply COR-filter to the block-stream permanently Andrey Shinkevich
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

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