Date: Fri, 4 Sep 1998 16:33:41 -0700 (PDT) From: Julian Elischer <julian@whistle.com> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: net@FreeBSD.ORG Subject: Re: Changes to pru_sosend() interface Message-ID: <Pine.BSF.3.95.980904162930.15639A-100000@current1.whistle.com> In-Reply-To: <199809041917.PAA13868@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980904162930.15639A-100000>