[PATCH] Fix bug 9412 - SMB2 server doesn't support recvfile.

Jeremy Allison jra at samba.org
Tue Apr 8 20:49:37 MDT 2014


On Wed, Apr 09, 2014 at 09:19:52AM +0800, Jones wrote:
> 2014-04-09 8:02 GMT+08:00 Jeremy Allison <jra at samba.org>:
> 
> > Ping - Jones ! Did you get the chance
> > to test this ? Is should reduce the number
> > of blocking/unblocking calls you see in
> > this case when the client is streaming
> > writes to the server.
> >
> 
> 
> Hello Jeremy,
> 
> Yes! And 512b write IOps is improved! That's great!
> 
> This patch (look.txt on 20140408) is tested under my environment
> whole yesterday afternoon,
> and the 'strace' and 'perf top' shows no fcntl() related calls in the log.
> 
> The iometer 512b sequential write shows following result,
> Before applying this patch: 75333 IOps
> After applying this patch: 82691 IOps
> 
> About EAGAIN,
> i would try to setup a high-latency network and test again,

The patch as is should cope with EAGAIN correctly,
but I'd be interested to see your test results.

> Thanks for your time.

Thanks for testing !

I'll get the patch reviewed for master,
should go into 4.2.0.

Cheers,

	Jeremy.


More information about the samba-technical mailing list