From owner-freebsd-current@FreeBSD.ORG Mon May 29 22:49:08 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B58A16A91B for ; Mon, 29 May 2006 22:49:08 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9296843D48 for ; Mon, 29 May 2006 22:49:07 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.80] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k4TMn4Zw015938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 May 2006 15:49:05 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <447B7A55.7040704@FreeBSD.org> Date: Mon, 29 May 2006 15:48:53 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Scott Long References: <447AB34C.4030509@sippysoft.com> <11410450515.20060529225555@lacave.net> <447B77AF.9060309@samsco.org> In-Reply-To: <447B77AF.9060309@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org" Subject: Re: Importing iSCSI target from NetBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 22:49:19 -0000 Scott Long wrote: > F. Senault wrote: > >> Monday, May 29, 2006, 10:39:40 AM, you wrote: >> >> >>> Hi, >> >> >>> I wonder if anybody has any objections to importing iSCSI target daemon >>> from NetBSD (Intel) into the base. >> >> >> Mh, I'm currently doing that, with the help of the author (Alistair G. >> Crooks), under the form of a port. Alistair just provided me a new >> version I'm testing, and I was planning to submit the port shortly. >> (It seems to work quite well). >> >> Now, if it's better to include it into the base, so much the better. >> Alistair was kind enough to take into consideration my suggestions, >> so, now, the daemon compiles and works under FreeBSD 6 (tested lightly >> with and i386 and more intensively witn an amd64). >> >> The work in progress is here : >> >> http://www.lacave.net/~fred/iscsi/ >> > > If it's not going to be integrated into the existing target > infrastructure then I'd prefer it to be a port. Ultimately it > would be nice for it to be part of the base system, though. Well, arguably we may want to support both ways. Having iSCSI target running in userland completely has some serious advantages (security is a big one for example, as you can run daemon easily as unprivileged process). The kernel iSCSI target only makes sense for really performance-constrained cases, and hopefully sooner or later we will be able to narrow the gap by utilizing zero-copy interfaces. -Maxim