From owner-freebsd-hackers Thu Jan 30 7: 3:27 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98ABE37B401 for ; Thu, 30 Jan 2003 07:03:25 -0800 (PST) Received: from webmail1.isg.siue.edu (webmail1.isg.siue.edu [146.163.5.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CB3043E4A for ; Thu, 30 Jan 2003 07:03:24 -0800 (PST) (envelope-from wgrim@siue.edu) Received: (from nobody@localhost) by webmail1.isg.siue.edu (8.11.6/8.11.6) id h0UF3Mx31155 for freebsd-hackers@freebsd.org; Thu, 30 Jan 2003 09:03:22 -0600 X-Authentication-Warning: webmail1.isg.siue.edu: nobody set sender to wgrim@siue.edu using -f Received: from 146.163.179.122 ( [146.163.179.122]) as user wgrim@146.163.5.4 by webmail1.isg.siue.edu with HTTP; Thu, 30 Jan 2003 09:03:22 -0600 Message-ID: <1043939002.3e393ebaaf94a@webmail1.isg.siue.edu> Date: Thu, 30 Jan 2003 09:03:22 -0600 From: wgrim@siue.edu To: freebsd-hackers@freebsd.org Subject: Re: Network block device. References: <18287.1043936650@critter.freebsd.dk> In-Reply-To: <18287.1043936650@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I haven't been following this thread too closely, but I was hoping you could clarify something for me. For what does GEOM mean/stand? Thanks for the clarification, Mike Quoting phk@FreeBSD.ORG: > In message <15929.4350.816918.384371@canoe.velocet.net>, David Gilbert > writes: > >>>>>> "phk" == phk writes: > > > >phk> NBD wouldn't be hard to implement on FreeBSD, the easiest way > >phk> would be to write two GEOM modules to do it: a client and a > >phk> server. > > > >phk> No, I don't have time to do that right now, but I will happily > >phk> guide anybody who wants to try. > > > >I would be interested in knowing what you think would be required > >... and some pointers. This sounds like a task I could bite off. > > First, find out what protocol you will use. If nothing else stay > compatible with Linux (at least as an option if what they use suck > too much). > > Then write a userland server and client so you have something to > test against. > > Then write the kernel-client. There are two bits of this, one is > the network part, one is the GEOM part. > > Julian proposed using netgraph for the network part, I'm not sure > I agree with that idea, I think it would be more efficient to just > make a kthread and go directly on the socket. I can't see what > netgraph would add in this case, except a lot of code doing nothing > but getting in the way. > > Once your kernel client can actually send a request and receive > the reply, we will tack it onto GEOM. > > >From there I expect doing the kernel server is pretty much the > same, just the other way around :-) > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > ------------------------------------------------- SIUE Web Mail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message