From owner-freebsd-net Fri Sep 4 16:42:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA26909 for freebsd-net-outgoing; Fri, 4 Sep 1998 16:42:34 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA26868 for ; Fri, 4 Sep 1998 16:42:26 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id QAA08189; Fri, 4 Sep 1998 16:33:47 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdBP8187; Fri Sep 4 23:33:44 1998 Date: Fri, 4 Sep 1998 16:33:41 -0700 (PDT) From: Julian Elischer To: Garrett Wollman cc: net@FreeBSD.ORG Subject: Re: Changes to pru_sosend() interface In-Reply-To: <199809041917.PAA13868@khavrinen.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org this sounds good to me. The specific support for NFS in sosend and friends really does complicate the picture. julian On Fri, 4 Sep 1998, Garrett Wollman wrote: > As near as I can tell, only NFS uses the version of the sosend() > interface which passes a complete mbuf chain rather than an iovec.(*) > Since the demands of NFS are rather different from those of the > user-mode interface, I intend to make the following change: > > - Create a new interface, sosend_bufs() (I was going to call it > sosend_nfs(), but the interface is not that specific yet) which takes > an mbuf chain rather than a uio. > > - Modify NFS to use this interface. > > - Delete support for passing an mbuf chain to the regular sosend(). > > This should make both interfaces faster, and opens up the possibility > of making further changes to the interface to improve NFS's > interaction with the socket layer. > > -GAWollman > > (*)Oops, I just discovered another one, because tegge didn't fix the > direct call to sosend when he imported nfs/krpc_subr.c back in > 1997-07. > > -- > Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same > wollman@lcs.mit.edu | O Siem / The fires of freedom > Opinions not those of| Dance in the burning flame > MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message