From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49870 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJVrW-0003nH-Iq for qemu-devel@nongnu.org; Fri, 19 Nov 2010 13:39:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJVrV-0007K3-Nt for qemu-devel@nongnu.org; Fri, 19 Nov 2010 13:39:06 -0500 Received: from verein.lst.de ([213.95.11.210]:43613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJVrV-0007Jw-D3 for qemu-devel@nongnu.org; Fri, 19 Nov 2010 13:39:05 -0500 Date: Fri, 19 Nov 2010 19:39:02 +0100 From: Christoph Hellwig Subject: Re: [Qemu-devel] [PATCH 12/16] scsi-generic: use plain ioctl Message-ID: <20101119183901.GI32461@lst.de> References: <20101118144736.C183DF90AB@ochil.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101118144736.C183DF90AB@ochil.suse.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hannes Reinecke Cc: stefanha@gmail.com, qemu-devel@nongnu.org, nab@linux-iscsi.org, kraxel@redhat.com On Thu, Nov 18, 2010 at 03:47:36PM +0100, Hannes Reinecke wrote: > > aio_ioctl is emulated anyway and currently broken. What's broken about it currently? > So better use 'normal' ioctl here as there are no benefits > on using the emulated async I/O call. There are huge benefits. Without it the whole scsi command execution happens synchronously in the qemu main loop, blocking guest execution.