qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/14] block jobs: Convert I/O to BlockBackend
@ 2016-05-04  9:39 Kevin Wolf
  2016-05-04  9:39 ` [Qemu-devel] [PATCH 01/14] block: keep a list of block jobs Kevin Wolf
                   ` (13 more replies)
  0 siblings, 14 replies; 33+ messages in thread
From: Kevin Wolf @ 2016-05-04  9:39 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, mreitz, jcody, jsnow, berto, qemu-devel

This series changes the block jobs so that they have a separate BlockBackend
for every node on which they perform I/O. This doesn't only get us closer to
the goal of only doing I/O through blk_*() from external sources (and block
jobs are considered external), but can also later be used to use BlockBackend
features for jobs: One could imagine replacing the very basic job throttling by
the already existing and more advanced BlockBackend throttling, or using the
BlockBackend error handling for block jobs.

This depends on the following queue of series on top of block-next:
* [PATCH v2 00/13] block: Move I/O throttling to BlockBackend
* [PATCH v2 0/9] block: Remove BlockDriverState.blk
* [PATCH v3 for-2.7 0/8] blockdev: (Nearly) free clean-up work

Alberto Garcia (1):
  block: keep a list of block jobs

John Snow (1):
  backup: Pack Notifier within BackupBlockJob

Kevin Wolf (12):
  block: Cancel jobs first in bdrv_close_all()
  block: Default to enabled write cache in blk_new()
  block: Convert block job core to BlockBackend
  stream: Use BlockBackend for I/O
  mirror: Allow target that already has a BlockBackend
  mirror: Use BlockBackend for I/O
  backup: Don't leak BackupBlockJob in error path
  backup: Remove bs parameter from backup_do_cow()
  block: Add blk_co_readv/writev()
  backup: Use BlockBackend for I/O
  commit: Use BlockBackend for I/O
  blockjob: Remove BlockJob.bs

 block.c                        |  23 +--------
 block/backup.c                 |  67 ++++++++++++++------------
 block/block-backend.c          |  58 ++++++++++++++++++++++-
 block/commit.c                 |  42 +++++++++++------
 block/io.c                     |  18 -------
 block/mirror.c                 | 105 ++++++++++++++++++-----------------------
 block/stream.c                 |  14 +++---
 blockdev.c                     |  12 +----
 blockjob.c                     |  62 +++++++++++++++++-------
 include/block/block.h          |   4 --
 include/block/blockjob.h       |  23 ++++++++-
 include/sysemu/block-backend.h |   8 ++++
 qemu-img.c                     |   2 +-
 tests/qemu-iotests/041         |  27 -----------
 tests/qemu-iotests/041.out     |   4 +-
 trace-events                   |   8 +++-
 16 files changed, 261 insertions(+), 216 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2016-05-13 15:37 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04  9:39 [Qemu-devel] [PATCH 00/14] block jobs: Convert I/O to BlockBackend Kevin Wolf
2016-05-04  9:39 ` [Qemu-devel] [PATCH 01/14] block: keep a list of block jobs Kevin Wolf
2016-05-13 13:09   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 02/14] block: Cancel jobs first in bdrv_close_all() Kevin Wolf
2016-05-06  9:17   ` Alberto Garcia
2016-05-13 13:14   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 03/14] block: Default to enabled write cache in blk_new() Kevin Wolf
2016-05-13 13:24   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 04/14] block: Convert block job core to BlockBackend Kevin Wolf
2016-05-13 13:45   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 05/14] stream: Use BlockBackend for I/O Kevin Wolf
2016-05-13 14:03   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 06/14] mirror: Allow target that already has a BlockBackend Kevin Wolf
2016-05-13 14:18   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 07/14] mirror: Use BlockBackend for I/O Kevin Wolf
2016-05-13 14:38   ` Max Reitz
2016-05-13 14:38   ` Max Reitz
2016-05-13 14:57     ` Eric Blake
2016-05-04  9:39 ` [Qemu-devel] [PATCH 08/14] backup: Don't leak BackupBlockJob in error path Kevin Wolf
2016-05-09 13:21   ` Alberto Garcia
2016-05-13 14:46   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 09/14] backup: Pack Notifier within BackupBlockJob Kevin Wolf
2016-05-13 15:01   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 10/14] backup: Remove bs parameter from backup_do_cow() Kevin Wolf
2016-05-13 15:06   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 11/14] block: Add blk_co_readv/writev() Kevin Wolf
2016-05-13 15:12   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 12/14] backup: Use BlockBackend for I/O Kevin Wolf
2016-05-13 15:25   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 13/14] commit: " Kevin Wolf
2016-05-13 15:36   ` Max Reitz
2016-05-04  9:39 ` [Qemu-devel] [PATCH 14/14] blockjob: Remove BlockJob.bs Kevin Wolf
2016-05-13 15:37   ` Max Reitz

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