From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4mtA-0006xQ-7E for qemu-devel@nongnu.org; Wed, 09 Jul 2014 04:06:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4mt4-0001e1-44 for qemu-devel@nongnu.org; Wed, 09 Jul 2014 04:06:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4mt3-0001dq-SU for qemu-devel@nongnu.org; Wed, 09 Jul 2014 04:05:58 -0400 From: Stefan Hajnoczi Date: Wed, 9 Jul 2014 10:05:45 +0200 Message-Id: <1404893149-27701-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH v3 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 , Fam Zheng , ming.lei@canonical.com, Christian Borntraeger , Stefan Hajnoczi , Paolo Bonzini v3: * Add Christian's Tested-by: [Kevin] * Resolved merge conflict in Patch 4 with qemu.git/master [Kevin] 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