Optimization with sendfile

Jeremy Allison jra at samba.org
Wed Sep 6 17:14:46 GMT 2006


On Wed, Sep 06, 2006 at 01:01:13PM -0400, William Jojo wrote:
> 
> ----- Original Message ----- 
> From: "Jeremy Allison" <jra at samba.org>
> To: "Shlomi Yaakobovich" <Shlomi at exanet.com>
> Cc: <samba-technical at lists.samba.org>
> Sent: Wednesday, September 06, 2006 11:56 AM
> Subject: Re: Optimization with sendfile
> 
> 
> >
> > Failing the sendfile is correct here. This is essentially "what
> > Windows does". Note we only use sendfile if the file was oplocked.
> >
> 
> I don't think oplocks are needed for sendfile. Something about Tridge and a
> train... :-)

Yes I remember that too, but can't remember the details :-)

Jeremy


More information about the samba-technical mailing list