mbox series

[v8,0/7] Apply COR-filter to the block-stream permanently

Message ID 1598633579-221780-1-git-send-email-andrey.shinkevich@virtuozzo.com (mailing list archive)
Headers show
Series Apply COR-filter to the block-stream permanently | expand

Message

Zhijian Li (Fujitsu)" via Aug. 28, 2020, 4:52 p.m. UTC
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

v8:
  03: qapi - version changed to 'Since: 5.2'.
  04: New.
  05: New.
  06: New.
  07: The extra bs variable and the enable_cor were dropped.

The v7 Message-Id:
<1598257914-887267-1-git-send-email-andrey.shinkevich@virtuozzo.com>

Andrey Shinkevich (7):
  copy-on-read: Support preadv/pwritev_part functions
  copy-on-read: add filter append/drop functions
  qapi: add filter-node-name to block-stream
  copy-on-read: pass base file name to COR driver
  copy-on-read: limit guest writes to base in COR driver
  block-stream: freeze link to base node during stream job
  block: apply COR-filter to block-stream jobs

 block/copy-on-read.c           | 218 ++++++++++++++++++++++++++++++++++++++---
 block/copy-on-read.h           |  36 +++++++
 block/monitor/block-hmp-cmds.c |   4 +-
 block/stream.c                 | 105 ++++++++++----------
 blockdev.c                     |   4 +-
 include/block/block_int.h      |   7 +-
 qapi/block-core.json           |   6 ++
 tests/qemu-iotests/030         |  60 +++---------
 tests/qemu-iotests/030.out     |   4 +-
 tests/qemu-iotests/245         |  21 ++--
 tests/qemu-iotests/258         | 161 ------------------------------
 tests/qemu-iotests/258.out     |  33 -------
 12 files changed, 341 insertions(+), 318 deletions(-)
 create mode 100644 block/copy-on-read.h
 delete mode 100755 tests/qemu-iotests/258
 delete mode 100644 tests/qemu-iotests/258.out