From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaMhl-0000Kk-MJ for qemu-devel@nongnu.org; Mon, 19 Nov 2012 03:27:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaMhi-0007Ad-K0 for qemu-devel@nongnu.org; Mon, 19 Nov 2012 03:27:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaMhi-0007AZ-CS for qemu-devel@nongnu.org; Mon, 19 Nov 2012 03:27:42 -0500 Message-ID: <50A9ED78.2060202@redhat.com> Date: Mon, 19 Nov 2012 09:27:36 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <50A79323.50403@dlhnet.de> In-Reply-To: <50A79323.50403@dlhnet.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] iscsi: fix deadlock during login List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: Kevin Wolf , "qemu-devel@nongnu.org" , ronnie sahlberg Il 17/11/2012 14:37, Peter Lieven ha scritto: > If the connection is interrupted before the first login is successfully > completed qemu-kvm is waiting forever in qemu_aio_wait(). > > This is fixed by performing an sync login to the target. If the > connection breaks after the first successful login errors are > handled internally by libiscsi. > > v2: > changed the complete iscsi_open routine to sync tasks. Applied to scsi-next branch, thanks. Paolo