Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752049Ab0HUSmg (ORCPT ); Sat, 21 Aug 2010 14:42:36 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:52069 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751768Ab0HUSmd (ORCPT ); Sat, 21 Aug 2010 14:42:33 -0400 Message-ID: <4C701E08.2020005@vlnb.net> Date: Sat, 21 Aug 2010 22:42:16 +0400 From: Vladislav Bolkhovitin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5 MIME-Version: 1.0 To: "Nicholas A. Bellinger" CC: Dirk Meister , linux-scsi@vger.kernel.org, James Bottomley , Chetan Loke , Chetan Loke , scst-devel , linux-kernel@vger.kernel.org Subject: Re: [Scst-devel] Fwd: Re: linuxcon 2010... References: <594039.74663.qm@web111905.mail.gq1.yahoo.com> <1282144271.3035.31.camel@mulgrave.site> <1282148296.3035.49.camel@mulgrave.site> <4C6C1D70.7020502@vlnb.net> <41A1E2691BBB412BADCDE5F515CD8EDA@usish.com.cn> <8A96806D-6CD7-44AD-8A9D-143C098C95A4@uni-paderborn.de> <1282256949.30453.278.camel@haakon2.linux-iscsi.org> In-Reply-To: <1282256949.30453.278.camel@haakon2.linux-iscsi.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:6MvdZ/1GKI+LiEhDUvFjMhvJfaO/QNX6vH26TyJb59u VHEPboV+5gClZUBIvV9KgO4/JI4GneoEVFyRVFe5DFOZv0o1p3 4daz/jOSEtYG1p7n3ldeRAkCjvSlKfRGY/9ECvdytunwBBghEk /nvDLeq6SKSdsHQ5pptVLKgxb1Oonsi/ZBLKAj6SHiEnHRCubW H+tDx7Ypxl4S0TVnxeX6A== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1715 Lines: 31 Nicholas A. Bellinger, on 08/20/2010 02:29 AM wrote: > "We will be extending the scsi_tgt_[lib,if].c mapped ring interface to > allow TCM to access userspace backstores transparently with existing > kernel level TCM fabric modules, and using the generic configfs fabric > module infrastructure in target_core_fabric_configfs.c for the port and > I_T nexus control plane just as you would with any TCM backstore > subsystem today. > > Again, in open source you have to build upon what already exists and > move forward. The original STGT kernel<-> userspace ring abstraction > and logic in drivers/scsi/scsi_tgt_lib.c:scsi_tgt_queue_command() -> > scsi_tgt_uspace_send_cmd() is already going to do the vast majority of > what is required for handling fabric I/O processing and I_T Nexus and > Port management in kernel space with a userspace backstore. It is > really just a matter of allowing the STGT ring request to optionally be > sent out to userspace as a standalone LUN instead of as a target port." You forgot to mention one small thing. You are going to (re)use current STGT interface for user space backend, which in 5 years of being mainline has not gained any noticeable interest, because it is fundamentally slow. It needs a complete redesign to become fast. In contrast, interface provided by scst_user has just 3% overhead comparing with fully in-kernel backend and allows to build storage capable of handling 1,500,000 IOPSes (Kaminario). Vlad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/