From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsTxG-0002zr-55 for qemu-devel@nongnu.org; Thu, 05 Jun 2014 05:27:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsTx7-0001pz-3i for qemu-devel@nongnu.org; Thu, 05 Jun 2014 05:27:26 -0400 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:36515 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsTx6-0001ph-PU for qemu-devel@nongnu.org; Thu, 05 Jun 2014 05:27:17 -0400 Message-ID: <539037F0.8080502@kamp.de> Date: Thu, 05 Jun 2014 11:27:12 +0200 From: Peter Lieven MIME-Version: 1.0 References: <1401889659-24035-1-git-send-email-pl@kamp.de> <53903469.8070902@msgid.tls.msk.ru> In-Reply-To: <53903469.8070902@msgid.tls.msk.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] block/iscsi: use 16 byte CDBs only when necessary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev , ronnie sahlberg Cc: Kevin Wolf , Paolo Bonzini , qemu-devel , Stefan Hajnoczi On 05.06.2014 11:12, Michael Tokarev wrote: > 04.06.2014 18:00, ronnie sahlberg wrote: >> That would mean you get to use the 10 version of the cdb even for very >> large devices (as long as the IO is for blocks at the beginning of the >> device) and thus provide partial avoidance of this issue for those >> large devices. > That may make some bugs "ghosty", so to say. Ie, if there's a bug in/with > 16 version of a command, you'll hit it only when you actually try to access > a "far" area of a drive. Which means you're unlikely to hit it while trying > to reproduce in a clean environment, even after using a large device. Or, > the bug will be triggered at random, since data placement on the filesystem > is effectively (from user PoV) random. > > To my taste it is better to make it a bit more deterministic. Yes, that was my fear as well. We make the decision for the whole target if 48bit adressing is needed, we use 16 Byte CDBs for all requests independend of the LBA offset. Peter > > Thanks, > > /mjt