From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A595C282CE for ; Tue, 4 Jun 2019 16:16:16 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 403F220883 for ; Tue, 4 Jun 2019 16:16:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 403F220883 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:54842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYC6h-000130-AG for qemu-devel@archiver.kernel.org; Tue, 04 Jun 2019 12:16:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYC5c-0000cm-MK for qemu-devel@nongnu.org; Tue, 04 Jun 2019 12:15:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYC5a-0004uo-A0 for qemu-devel@nongnu.org; Tue, 04 Jun 2019 12:15:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32794) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hYC5R-0004cI-Im; Tue, 04 Jun 2019 12:14:58 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D27BFC1EB1F3; Tue, 4 Jun 2019 16:14:46 +0000 (UTC) Received: from linux.fritz.box.com (ovpn-116-220.ams2.redhat.com [10.36.116.220]) by smtp.corp.redhat.com (Postfix) with ESMTP id 83EF31001DE4; Tue, 4 Jun 2019 16:14:43 +0000 (UTC) From: Kevin Wolf To: qemu-block@nongnu.org Date: Tue, 4 Jun 2019 18:14:30 +0200 Message-Id: <20190604161430.32105-1-kwolf@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 04 Jun 2019 16:14:50 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL v2 00/29] Block layer patches X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, peter.maydell@linaro.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The following changes since commit e2a58ff493a2e00db3e963c1839c5374500110= f2: Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into s= taging (2019-06-03 18:26:21 +0100) are available in the Git repository at: git://repo.or.cz/qemu/kevin.git tags/for-upstream for you to fetch changes up to 11ba81c3cde0bc070cced6e8ef2835fab4fe90c8: iotests: Fix duplicated diff output on failure (2019-06-04 16:55:58 +02= 00) ---------------------------------------------------------------- Block layer patches: - block: AioContext management, part 2 - Avoid recursive block_status call (i.e. lseek() calls) if possible - linux-aio: Drop unused BlockAIOCB submission method - nvme: add Get/Set Feature Timestamp support - Fix crash on commit job start with active I/O on base node - Fix crash in bdrv_drained_end - Fix integer overflow in qcow2 discard ---------------------------------------------------------------- John Snow (1): blockdev: fix missed target unref for drive-backup Julia Suvorova (1): block/linux-aio: Drop unused BlockAIOCB submission method Kenneth Heitke (1): nvme: add Get/Set Feature Timestamp support Kevin Wolf (19): block: Drain source node in bdrv_replace_node() iotests: Test commit job start with concurrent I/O test-block-iothread: Check filter node in test_propagate_mirror nbd-server: Call blk_set_allow_aio_context_change() block: Add Error to blk_set_aio_context() block: Add BlockBackend.ctx block: Add qdev_prop_drive_iothread property type scsi-disk: Use qdev_prop_drive_iothread block: Adjust AioContexts when attaching nodes test-block-iothread: Test adding parent to iothread node test-block-iothread: BlockBackend AioContext across root node chang= e block: Move node without parents to main AioContext blockdev: Use bdrv_try_set_aio_context() for monitor commands block: Remove wrong bdrv_set_aio_context() calls virtio-scsi-test: Test attaching new overlay with iothreads iotests: Attach new devices to node in non-default iothread test-bdrv-drain: Use bdrv_try_set_aio_context() block: Remove bdrv_set_aio_context() iotests: Fix duplicated diff output on failure Max Reitz (2): block/io: Delay decrementing the quiesce_counter iotests: Test cancelling a job and closing the VM Vladimir Sementsov-Ogievskiy (5): tests/perf: Test lseek influence on qcow2 block-status block: avoid recursive block_status call if possible block/qcow2-refcount: add trace-point to qcow2_process_discards block/io: bdrv_pdiscard: support int64_t bytes parameter iotests: test big qcow2 shrink docs/devel/multiple-iothreads.txt | 4 +- block/qcow2.h | 4 + hw/block/nvme.h | 2 + include/block/block.h | 21 ++--- include/block/block_int.h | 1 + include/block/nvme.h | 2 + include/block/raw-aio.h | 3 - include/hw/block/block.h | 7 +- include/hw/qdev-properties.h | 3 + include/hw/scsi/scsi.h | 1 + include/sysemu/block-backend.h | 5 +- tests/libqtest.h | 11 +++ block.c | 79 ++++++++++++----- block/backup.c | 3 +- block/block-backend.c | 47 ++++++---- block/commit.c | 13 +-- block/crypto.c | 3 +- block/io.c | 28 +++--- block/linux-aio.c | 72 +++------------ block/mirror.c | 4 +- block/parallels.c | 3 +- block/qcow.c | 3 +- block/qcow2-refcount.c | 39 ++++++++- block/qcow2.c | 17 +++- block/qed.c | 3 +- block/sheepdog.c | 3 +- block/vdi.c | 3 +- block/vhdx.c | 3 +- block/vmdk.c | 3 +- block/vpc.c | 3 +- blockdev.c | 61 +++++++------ blockjob.c | 12 ++- hmp.c | 3 +- hw/block/dataplane/virtio-blk.c | 12 ++- hw/block/dataplane/xen-block.c | 6 +- hw/block/fdc.c | 2 +- hw/block/nvme.c | 106 +++++++++++++++++++++- hw/block/xen-block.c | 2 +- hw/core/qdev-properties-system.c | 41 ++++++++- hw/ide/qdev.c | 2 +- hw/scsi/scsi-disk.c | 24 +++-- hw/scsi/virtio-scsi.c | 25 +++--- migration/block.c | 3 +- nbd/server.c | 6 +- qemu-img.c | 6 +- tests/libqtest.c | 19 ++++ tests/test-bdrv-drain.c | 50 ++++++----- tests/test-bdrv-graph-mod.c | 5 +- tests/test-block-backend.c | 6 +- tests/test-block-iothread.c | 104 ++++++++++++++++++---- tests/test-blockjob.c | 2 +- tests/test-throttle.c | 6 +- tests/virtio-scsi-test.c | 63 ++++++++++++++ block/trace-events | 3 + hw/block/trace-events | 2 + tests/perf/block/qcow2/convert-blockstatus | 71 +++++++++++++++ tests/qemu-iotests/051 | 24 +++++ tests/qemu-iotests/051.out | 3 + tests/qemu-iotests/051.pc.out | 27 ++++++ tests/qemu-iotests/102 | 2 +- tests/qemu-iotests/102.out | 3 +- tests/qemu-iotests/141.out | 2 +- tests/qemu-iotests/144.out | 2 +- tests/qemu-iotests/240 | 21 +++++ tests/qemu-iotests/240.out | 15 +++- tests/qemu-iotests/250 | 78 +++++++++++++++++ tests/qemu-iotests/250.out | 16 ++++ tests/qemu-iotests/255 | 135 +++++++++++++++++++++++= ++++++ tests/qemu-iotests/255.out | 40 +++++++++ tests/qemu-iotests/check | 1 - tests/qemu-iotests/group | 2 + tests/qemu-iotests/iotests.py | 10 ++- 72 files changed, 1144 insertions(+), 272 deletions(-) create mode 100755 tests/perf/block/qcow2/convert-blockstatus create mode 100755 tests/qemu-iotests/250 create mode 100644 tests/qemu-iotests/250.out create mode 100755 tests/qemu-iotests/255 create mode 100644 tests/qemu-iotests/255.out