[Samba] Samba write performance in kernel

Jeremy Allison jra at samba.org
Fri Sep 5 00:40:27 GMT 2008


On Thu, Sep 04, 2008 at 07:35:56PM +0800, Lin Mac wrote:
> 
> hi,
> 
> Yes, it works. Now the splice would failed first, then runs default_sys_recvfile.
> 
> Is there any kernel patch to fix this issue? or any discussion, clues?

Not that I know of at the moment. I'm waiting for the Linux
kernel to support splice from socket -> file. Code's all
there in Samba.

> BTW, although the splice is not used, some access from window client seems strange: writing files has no status bar but finished siliently, and can't delete file. (I've checked the permission of the file to ensure they are writable.)
> 
> Writing and deleting files from linux have no such problem. Reading file from both clients have no problem too.

Doesn't sound like a splice problem to me. Is this
reproducible ?

Jeremy.


More information about the samba mailing list