20.04.2020 21:36, Andrey Shinkevich wrote:
Note: this series is based on the one "block: Deal with filters"
by Max Reitz that can be found in the branches:
https://git.xanclic.moe/XanClic/qemu child-access-functions-v6
https://github.com/XanClic/qemu child-access-functions-v6
Would be very good to not make a dependency and keep the series parallel. I
believe, that we can proceed with this series taking a small subset of Max's
series.
When running iotests, apply "char-socket: Fix race condition"
to avoid sporadic segmentation faults.
With this series, all the block-stream COR operations pass through
the COR-filter.
Andrey Shinkevich (7):
block: prepare block-stream for using COR-filter
stream: exclude a link to filter from freezing
block: protect parallel jobs from overlapping
copy-on-read: Support refreshing filename
qapi: add filter-node-name to block-stream
iotests: prepare 245 for using filter in block-stream
block: apply COR-filter to block-stream jobs
block/copy-on-read.c | 7 ++
block/stream.c | 170 +++++++++++++++++++++++++++++++++++++++------
blockdev.c | 15 +++-
blockjob.c | 15 +++-
include/block/block_int.h | 7 +-
monitor/hmp-cmds.c | 4 +-
qapi/block-core.json | 6 ++
tests/qemu-iotests/030 | 6 +-
tests/qemu-iotests/141.out | 2 +-
tests/qemu-iotests/245 | 15 ++--
10 files changed, 210 insertions(+), 37 deletions(-)
--
Best regards,
Vladimir