Received: from [140.186.70.92] (port=47129 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLSvR-0006Gc-EK for qemu-devel@nongnu.org; Wed, 24 Nov 2010 22:55:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLSvQ-00011e-Gr for qemu-devel@nongnu.org; Wed, 24 Nov 2010 22:55:13 -0500 Received: from mail.linux-iscsi.org ([67.23.28.174]:37662 helo=linux-iscsi.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLSvQ-00011V-CK for qemu-devel@nongnu.org; Wed, 24 Nov 2010 22:55:12 -0500 Subject: Re: [Qemu-devel] [PATCH 1/5] block: Add top level BSG support From: "Nicholas A. Bellinger" In-Reply-To: <20101124164829.GB31124@lst.de> References: <1290588004-8872-1-git-send-email-nab@linux-iscsi.org> <20101124164829.GB31124@lst.de> Content-Type: text/plain Date: Wed, 24 Nov 2010 19:49:42 -0800 Message-Id: <1290656983.2509.36.camel@haakon2.linux-iscsi.org> 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: Christoph Hellwig Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel , FUJITA Tomonori , Gerd Hoffmann , Boaz Harrosh , Paolo Bonzini , Hannes Reinecke On Wed, 2010-11-24 at 17:48 +0100, Christoph Hellwig wrote: > Nick, > > can we wait a bit with this series? With the threadlets currently > pending for inclusion I can get my rewrite of the generic-generic > to not abuse the qemu block layer out of the closet again, which > should simplify a lot of the things you're touching here. > Sure, no big rush on this series now that it's been updated to run against recent v2 QEMU SCSI changes and latest megasas emulation code. I must have missed your threadlets block rewrite series, but am interested to see how this can simply things wrt to scsi-generic and scsi-bsg -> accessing kernel backend devices. But yeah, the lack of a proper bsg_rq_map_user_iov() handler in block/bsg.c:bsg_map_hdr() still needs to be addressed in the mainline kernel, so that SCSIDeviceInfo->alloc_req_iov() generated SCSIRequest can function properly in patch #5. --nab