From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo05L-00041X-3C for qemu-devel@nongnu.org; Mon, 10 Nov 2014 20:17:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xo05D-0007at-Ln for qemu-devel@nongnu.org; Mon, 10 Nov 2014 20:17:31 -0500 Received: from mail-pd0-f173.google.com ([209.85.192.173]:45384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo05D-0007YG-Gd for qemu-devel@nongnu.org; Mon, 10 Nov 2014 20:17:23 -0500 Received: by mail-pd0-f173.google.com with SMTP id v10so9001468pde.32 for ; Mon, 10 Nov 2014 17:17:21 -0800 (PST) From: Ming Lei Date: Tue, 11 Nov 2014 09:17:08 +0800 Message-Id: <1415668630-30073-1-git-send-email-ming.lei@canonical.com> Subject: [Qemu-devel] [PATCH v1 0/2] virtio-scsi: dataplane: one fix and one optimization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Paolo Bonzini , Stefan Hajnoczi , Kevin Wolf Cc: Fam Zheng , Anthony Liguori , "Michael S. Tsirkin" Hi, The 1st patch fixes an allocation problem. The 2nd one supresses writing eventfd a lot(~30K/sec in my test). V1: - use g_new() in 1/2 - avoid to dereference VIRTIO_SCSI() directly 2/2 - add build check on queue depth Thanks, Ming Lei