From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1zvz-0004Yt-OD for qemu-devel@nongnu.org; Tue, 01 Jul 2014 11:25:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1zvs-0007TS-A5 for qemu-devel@nongnu.org; Tue, 01 Jul 2014 11:25:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1zvs-0007TL-2x for qemu-devel@nongnu.org; Tue, 01 Jul 2014 11:25:20 -0400 From: Stefan Hajnoczi Date: Tue, 1 Jul 2014 17:25:05 +0200 Message-Id: <1404228309-21122-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/4] virtio-blk: fix issues with unified virtio-blk request handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , ming.lei@canonical.com, Fam Zheng , Stefan Hajnoczi This series fixes issues recently introduced when unifying virtio-blk dataplane's request handling with non-dataplane virtio-blk. The problems include broken memory allocation for dataplane requests and a performance regression for non-dataplane. See the patches for details. Stefan Hajnoczi (4): virtio-blk: avoid dataplane VirtIOBlockReq early free dataplane: do not free VirtQueueElement in vring_push() virtio-blk: avoid g_slice_new0() for VirtIOBlockReq and VirtQueueElement virtio-blk: embed VirtQueueElement in VirtIOBlockReq hw/block/dataplane/virtio-blk.c | 30 +++++++++++----------- hw/block/virtio-blk.c | 50 ++++++++++++++++++------------------- hw/virtio/dataplane/vring.c | 22 ++++++---------- include/hw/virtio/dataplane/vring.h | 3 +-- include/hw/virtio/virtio-blk.h | 6 ++++- 5 files changed, 53 insertions(+), 58 deletions(-) -- 1.9.3