From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 5 09:00:49 2007 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25E3716A417 for ; Mon, 5 Nov 2007 09:00:49 +0000 (UTC) (envelope-from tom@samplonius.org) Received: from ly.sdf.com (ly.sdf.com [216.113.193.83]) by mx1.freebsd.org (Postfix) with ESMTP id 00A3F13C4A3 for ; Mon, 5 Nov 2007 09:00:48 +0000 (UTC) (envelope-from tom@samplonius.org) Received: from localhost (localhost [127.0.0.1]) by ly.sdf.com (Postfix) with ESMTP id 580151FC003; Sun, 4 Nov 2007 22:57:48 -0800 (PST) X-Virus-Scanned: amavisd-new at X-Spam-Score: -4.049 X-Spam-Level: X-Spam-Status: No, score=-4.049 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.350, BAYES_00=-2.599] Received: from ly.sdf.com ([127.0.0.1]) by localhost (ly.sdf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rHCIGRbqb8Ow; Sun, 4 Nov 2007 22:57:44 -0800 (PST) Received: from ly.sdf.com (ly.sdf.com [216.113.193.83]) by ly.sdf.com (Postfix) with ESMTP id 4D5521FC001; Sun, 4 Nov 2007 22:57:44 -0800 (PST) Date: Sun, 4 Nov 2007 22:57:44 -0800 (PST) From: Tom Samplonius To: James Mansion Message-ID: <11986784.3811194245864164.JavaMail.root@ly.sdf.com> In-Reply-To: <472C458E.1060309@mansionfamily.plus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [216.113.193.90] Cc: freebsd-scsi@freebsd.org Subject: Re: iSCSI in 7.0 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 09:00:49 -0000 ----- "James Mansion" wrote: > Have to say I was very pleasntly shocked to see iSCSI initiator > support > in the 7.0 overview. > > Is this the right place to ask about it? > > Specifically, does FreeBSD ensure that socket buffers are allocated > from > a set-aside pool > for iSCSI data, so that iSCSI can be used for swap in a diskless > environment? (Perhaps > ideally it would be a mount-time option for this: its only really swap Well, since it is a kernel mode driver, it has to be use kernel memory. There should be no issue with a swap deadlock, because the iSCSI client can't get more memory until some memory is swapped in. But FreeBSD does not generally like running out kernel memory either. > that needs it after all) > > Linux fails to do this for iSCSI or AoE or nbd and prone (perhaps > theoretically prone, > but its a worry) to deadlock when swapping over the network. I think Linux is using a kernel mode driver too. Well, there were several iSCSI clients when I checked. I'm not sure which you are looking at. > Also, is the framework support such that it could be extended to > support > coraid AoE or > simple nbd like Linux, but without the limitation above? Well, FreeBSD has ggated for ndb like things. It has been around for a while. AoE sounds completely retarded. I hope it disappears before people think it is actually something serious. > Thanks > James Tom