Received: from eggs.gnu.org ([2001:4830:134:3::10]:49900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfRau-0003Vh-EK for qemu-devel@nongnu.org; Wed, 09 Aug 2017 10:04:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfRat-0003fA-DN for qemu-devel@nongnu.org; Wed, 09 Aug 2017 10:04:20 -0400 From: Manos Pitsidianakis Date: Wed, 9 Aug 2017 17:02:50 +0300 Message-Id: <20170809140256.25584-1-el13635@mail.ntua.gr> Subject: [Qemu-devel] [PATCH v2 0/6] block: remove legacy I/O throttling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: qemu-block , Alberto Garcia , Stefan Hajnoczi , Kevin Wolf This series depends on my other series 'add throttle block driver filter' currently on v4. Replacing the current I/O interface means the user will use the same options as before and QEMU will create a hidden throttle filter node beneath the device's BlockBackend. v2: new commit: require job-id when device is a node name new commit: remove BlockBackendPublic new commit: add dedicated iotest cleanup reference counting in block/block-backend.c functions add new function to get filter child bs take ownership of options in bdrv_new_open_driver() Manos Pitsidianakis (6): block: skip implicit nodes in snapshots, blockjobs block: add options parameter to bdrv_new_open_driver() block: require job-id when device is a node name block: remove legacy I/O throttling block: add iotest 191 for legacy throttling interface block: remove BlockBackendPublic block.c | 26 ++++++- block/block-backend.c | 152 +++++++++++++++++++++++----------------- block/commit.c | 4 +- block/mirror.c | 2 +- block/qapi.c | 24 +++---- block/throttle.c | 8 +++ block/vvfat.c | 2 +- blockdev.c | 148 +++++++++++++++++++++++++++++++++----- blockjob.c | 16 ++--- include/block/block.h | 2 +- include/block/block_int.h | 9 +++ include/block/blockjob_int.h | 3 +- include/block/throttle-groups.h | 1 + include/sysemu/block-backend.h | 16 +---- tests/qemu-iotests/191 | 138 ++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/191.out | 5 ++ tests/qemu-iotests/group | 1 + tests/test-blockjob.c | 10 +-- tests/test-throttle.c | 19 ++--- 19 files changed, 440 insertions(+), 146 deletions(-) create mode 100644 tests/qemu-iotests/191 create mode 100644 tests/qemu-iotests/191.out -- 2.11.0