From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41511 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVOix-0006Em-OG for qemu-devel@nongnu.org; Wed, 22 Dec 2010 08:27:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVOiv-0001If-TH for qemu-devel@nongnu.org; Wed, 22 Dec 2010 08:27:23 -0500 Received: from verein.lst.de ([213.95.11.210]:37630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVOiv-0001GW-L1 for qemu-devel@nongnu.org; Wed, 22 Dec 2010 08:27:21 -0500 Date: Wed, 22 Dec 2010 14:27:10 +0100 From: Christoph Hellwig Subject: Re: [Qemu-devel] scsi-generic and max request size Message-ID: <20101222132710.GA8289@lst.de> References: <1292901946.16694.688.camel@pasglop> <1292903541.16694.695.camel@pasglop> <4D1068E3.4080000@suse.de> <1292969126.16694.755.camel@pasglop> <4D12032E.6040602@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D12032E.6040602@suse.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hannes Reinecke Cc: Kevin Wolf , qemu-devel , ronnie sahlberg On Wed, Dec 22, 2010 at 02:54:54PM +0100, Hannes Reinecke wrote: > Most modern HBAs are using separate codepaths for streaming/block I/O > anyway, That's not true at all. Every normal HBA justs passes normal SCSI commands to the SCSI targets. It's just raid adapters that take special commands, and the megaraid one is extremly special as it actually emulates a few SCSI commands even in RAID mode, which almost no other HBA does. Strictly speaking we should not allow scsi-generic with megaraid_sas, except for the separate passthrough channels that the real hardware has for things like tape drives. > However, since Alex Graf is facing similar problems with the AHCI HBA of > his maybe we could retry again ... AHCI is a ATA adapter, and should never be used with scsi-generic for disks. Only for the ATAPI-attached cdroms/tapes/etc it could be used, although it's quite pointless.