Initial recvfile VFS change

Jeremy Allison jra at samba.org
Wed Oct 31 05:25:50 GMT 2007


On Tue, Oct 30, 2007 at 04:31:12PM -0700, Jeremy Allison wrote:
> 
> I'm trying to get an implementation using
> splice() up and running on Linux, but
> my system header files are f&%ked on
> this development box....

Grrrr. It seems that slice() is broken
on at least kernel 2.6.22 (Ubuntu 7.10)
- it works as sendfile (file -> network)
but not as recvfile (network -> file).

I'll add in the configure test tomorrow
and can detect the failure and fall back
to the userspace implementation on error,
this will allow me to commit the code and
let systems with *working* implementations
(hi there FreeBSD :-) to add in their versions
and send me the patches for 3.2.x.

I need this to enable the 16Mb direct writes
for the CIFSFS and MacOS clients.

F*%king Linux strikes again..... :-(.

A HALF IMPLEMENTED FEATURE IS NOT A KERNEL
FEATURE YOU CAN ANNOUNCE !!!!!

Jeremy.


More information about the samba-technical mailing list