From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwkKM-0006YV-9i for qemu-devel@nongnu.org; Mon, 16 Jun 2014 23:45:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwkKF-0007ei-Qa for qemu-devel@nongnu.org; Mon, 16 Jun 2014 23:44:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwkKF-0007ea-Ib for qemu-devel@nongnu.org; Mon, 16 Jun 2014 23:44:47 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5H3ijx2022813 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 16 Jun 2014 23:44:46 -0400 From: Fam Zheng Date: Tue, 17 Jun 2014 11:44:55 +0800 Message-Id: <1402976701-10271-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH 0/6] virtio-blk: Unify request handling of dataplane List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , Stefan Hajnoczi This is based on top of my request converging series: [PATCH v4 0/9] virtio-blk: Converge VirtIOBlockRequest into VirtIOBlockReq Most of the request handlings are already the same now between dataplane and non-dataplane, except the missing IO accounting, error reporting and multiwrite. With this series, dataplane pulls in all of them by reusing non-dataplane handling code. Thread safety of error reporting relies on Paolo's series: [PATCH 0/5] qemu-char/monitor: make monitor_puts thread safe [PATCH v2 0/2] block: thread-safety patches for virtio-blk dataplane rerror/werror Fam Zheng (4): virtio-blk: Make request completion function virtual virtio-blk: Export request handling functions to dataplane virtio-blk: Unify {non-,}dataplane's request handlings virtio-blk: Rename complete_request_early to complete_request_vring Stefan Hajnoczi (2): block: make bdrv_query_stats() static block: acquire AioContext in qmp_query_blockstats() block/qapi.c | 6 +- hw/block/dataplane/virtio-blk.c | 180 ++++------------------------------------ hw/block/virtio-blk.c | 19 +++-- include/block/qapi.h | 1 - include/hw/virtio/virtio-blk.h | 12 +++ 5 files changed, 42 insertions(+), 176 deletions(-) -- 2.0.0