[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba-technical
Subject:    Re: Initial recvfile VFS change
From:       Jeremy Allison <jra () samba ! org>
Date:       2007-10-31 5:25:50
Message-ID: 20071031052550.GB7228 () jeremy2 ! wintest ! samba ! local
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic