Skip to content

RFC block-queue: Delay and batch metadata writes

Kevin Wolf qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 RFC Latest4 patches 4 repliesIn review
  2. v2 RFC4 patches 5 repliesSuperseded
  3. v1 RFC1 patch 14 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block: Implement bdrv_aio_pwriteblock.c block.h+169 -03 replies
2/4Add block-queueMakefile.objs block-queue.c block-queue.h+798 -11 reply
3/4Test cases for block-queueMakefile check-block-queue.c+403 -00 replies
4/4qcow2: Preliminary block-queue supportblock/qcow2-cluster.c block/qcow2-refcount.c block/qcow2.c +5 more+151 -550 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [RFC PATCH v3 0/4] block-queue: Delay and batch metadata writes

block-queue itself looks more or less ready to me now, the rest is possible bug fixes and addressing review comments. So please, give the first three patches a good review, they are in their final version otherwise.

This series is only marked RFC because proper qcow2 integration is missing and merging block-queue doesn't make much sense without a user.

Patch 4/4 contains a hackish version of qcow2 integration which I think should fully work (I think I addressed Stefan's comment), but is too ugly to be merged.

Kevin Wolf (4):
block: Implement bdrv_aio_pwrite
Add block-queue
Test cases for block-queue
qcow2: Preliminary block-queue support

 Makefile               |    1 +
 Makefile.objs          |    2 +-
 block-queue.c          |  736 ++++++++++++++++++++++++++++++++++++++++++++++++
 block-queue.h          |   61 ++++
 block.c                |  167 +++++++++++
 block.h                |    2 +
 block/qcow2-cluster.c  |   39 ++--
 block/qcow2-refcount.c |   62 ++--
 block/qcow2.c          |   83 ++++++-
 block/qcow2.h          |    5 +
 check-block-queue.c    |  402 ++++++++++++++++++++++++++
 cpus.c                 |    8 +-
 qemu-common.h          |    3 +
 qemu-tool.c            |    5 +
 sysemu.h               |    1 -
 15 files changed, 1521 insertions(+), 56 deletions(-)
 create mode 100644 block-queue.c
 create mode 100644 block-queue.h
 create mode 100644 check-block-queue.c
Signature · 1 line
1.7.2.3