Received: from eggs.gnu.org ([2001:4830:134:3::10]:43663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL8Is-0003EM-Tq for qemu-devel@nongnu.org; Thu, 07 Jul 2016 08:21:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bL8Io-000893-Oc for qemu-devel@nongnu.org; Thu, 07 Jul 2016 08:21:13 -0400 Sender: Paolo Bonzini References: <1467284899-22575-1-git-send-email-pl@kamp.de> <0bdc5c9b-e565-d63d-c82c-acee433c036d@redhat.com> <577E3FAA.3010606@kamp.de> From: Paolo Bonzini Message-ID: <19ec3136-a431-fc3b-77cc-d9cbc5d2139c@redhat.com> Date: Thu, 7 Jul 2016 14:21:07 +0200 MIME-Version: 1.0 In-Reply-To: <577E3FAA.3010606@kamp.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] block/iscsi: precache the allocation status of a target List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven , qemu-block@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, qemu-devel@nongnu.org, ronniesahlberg@gmail.com, mreitz@redhat.com On 07/07/2016 13:40, Peter Lieven wrote: >>> >> This can take a long time and the disks may not even be ever used. I >> don't think it's a good idea. > > Sure, the target might stay unused, but why do you suspect its slow? I don't suspect it's slow; it's just that it can be O(size of disk), and can send really a lot of commands down the link. I don't think it's a good thing to do in advance. Paolo