From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNHzg-0007zs-5Q for qemu-devel@nongnu.org; Thu, 06 Aug 2015 06:01:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNHzd-00078l-0Q for qemu-devel@nongnu.org; Thu, 06 Aug 2015 06:01:48 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:37385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNHzc-00078b-Nz for qemu-devel@nongnu.org; Thu, 06 Aug 2015 06:01:44 -0400 Received: by wibhh20 with SMTP id hh20so16782438wib.0 for ; Thu, 06 Aug 2015 03:01:43 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 6 Aug 2015 12:01:34 +0200 Message-Id: <1438855297-28377-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH for-2.5 0/3] scsi: preparations for thread-safe virtio-scsi dataplane List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: lvivier@redhat.com, famz@redhat.com As a preparation for making virtio-scsi dataplane really thread-safe, this series fixes a bug in rerror/werror=stop (patch 1) and cleans up the code so that AIO callbacks are clearly identified. These will need to acquire/release the AioContext, so it's important not to miss any of them. Paolo Paolo Bonzini (3): scsi: create restart bottom half in the right AioContext scsi-disk: identify AIO callbacks more clearly scsi-generic: identify AIO callbacks more clearly hw/scsi/scsi-bus.c | 3 +- hw/scsi/scsi-disk.c | 91 +++++++++++++++++++++++++++++++++----------------- hw/scsi/scsi-generic.c | 66 ++++++++++++++++++++++-------------- 3 files changed, 104 insertions(+), 56 deletions(-) -- 2.4.3