From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ1li-0000KK-Fb for qemu-devel@nongnu.org; Thu, 15 Nov 2012 10:54:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZ1lf-0008C9-EA for qemu-devel@nongnu.org; Thu, 15 Nov 2012 10:54:18 -0500 Received: from mail-pb0-f45.google.com ([209.85.160.45]:38085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ1lf-0008An-6g for qemu-devel@nongnu.org; Thu, 15 Nov 2012 10:54:15 -0500 Received: by mail-pb0-f45.google.com with SMTP id mc8so1190523pbc.4 for ; Thu, 15 Nov 2012 07:54:14 -0800 (PST) Sender: Paolo Bonzini Message-ID: <50A5101E.1030705@redhat.com> Date: Thu, 15 Nov 2012 16:54:06 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <50A50150.8010201@dlhnet.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] iscsi: fix deadlock during login List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ronnie sahlberg Cc: kwolf@redhat.com, Peter Lieven , "qemu-devel@nongnu.org" Il 15/11/2012 15:57, ronnie sahlberg ha scritto: > I dont know if we should switch to use synchronous code here. > It is much nicer if all code is async. bdrv_open is generally synchronous, so I think Peter's patch is ok. Paolo > Is it possible to add a timeout instead that would break out if the > connect/login has not completed within a certain amount of time?