sendfile() in samba?

Cole, Timothy D. timothy_d_cole at md.northgrum.com
Thu May 24 18:26:17 GMT 2001


> -----Original Message-----
> From:	Jeremy Allison [SMTP:jeremy at valinux.com]
> Sent:	Thursday, May 24, 2001 12:03
> To:	Greg Dickie
> Cc:	samba-technical at samba.org
> Subject:	Re: sendfile() in samba?
> 
> Greg Dickie wrote:
> > 
> > Hi,
> > 
> >   I have seen references to patches that put Linux sendfile support into
> samba
> > but I was wondering if there is any "official" plan to put this in. Has
> the
> > patch even been submitted?
> 
> I hacked it up for a test with 2.4 at a customer site. Anton
> has also got a hacked version that does this.
> 
> It'll probably go in sometime in the 2.2.x Samba series when
> we've got more time to experiment (and only with Linux 2.4.x
> kernel oplocked files for safety).
> 
	OOC, why are oplocks necessary for safely using sendfile()?




More information about the samba-technical mailing list