From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38945 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLXoO-0002EV-4U for qemu-devel@nongnu.org; Thu, 25 Nov 2010 04:08:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLXoI-0005ra-25 for qemu-devel@nongnu.org; Thu, 25 Nov 2010 04:08:15 -0500 Received: from gate.crashing.org ([63.228.1.57]:56891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLXoH-0005rW-O8 for qemu-devel@nongnu.org; Thu, 25 Nov 2010 04:08:10 -0500 Subject: Re: [Qemu-devel] Re: [PATCH] scsi-generic: bugfixes for 'SCSIRequest' conversion From: Benjamin Herrenschmidt In-Reply-To: <4CEE2724.6000801@suse.de> References: <1290586723-8724-1-git-send-email-nab@linux-iscsi.org> <4CECD36E.50401@suse.de> <4CECD50F.9060501@redhat.com> <4CECE609.7080600@suse.de> <4CECEA2A.40008@redhat.com> <4CECED12.5020109@suse.de> <1290674774.32570.106.camel@pasglop> <4CEE2343.3090505@redhat.com> <1290675704.32570.114.camel@pasglop> <4CEE2724.6000801@suse.de> Content-Type: text/plain; charset="UTF-8" Date: Thu, 25 Nov 2010 20:07:58 +1100 Message-ID: <1290676078.32570.115.camel@pasglop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hannes Reinecke Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel , "Nicholas A. Bellinger" , Gerd Hoffmann , Paolo Bonzini , linux-iscsi-target-dev@googlegroups.com On Thu, 2010-11-25 at 10:06 +0100, Hannes Reinecke wrote: > No, this is exactly as I'm expecting the SCSI layer to work. > So from the light of this the patch to scsi-generic is valid. > And it really looks like papering over a bug in the lsi HBA code. Ok. I have no special case tho for a complete() coming for data with 0 in arg. I will just skip the DMA part and call read/write again until I get SCSI_REASON_DONE. Cheers, Ben.