Any news to Samba and sendfile config/bug?

Markus Kolb ubuntu-ml at tower-net.de
Sun Sep 26 18:46:30 UTC 2004


Hello,

current Samba is broken with Kernel 2.6 and sendfile = yes (which is 
default).
I could find this bug only in bugzilla of Debian and imported to 
bugzilla of Ubuntu and nothing about it in bugzilla of samba.org.
Do they know the problem?

https://bugzilla.ubuntu.com/show_bug.cgi?id=1433

use sendfile (S)
If this parameter is yes, and the sendfile() system call is sup-
ported  by  the  underlying operating system, then some SMB read
calls (mainly ReadAndX and ReadRaw) will use the more  efficient
sendfile  system  call  for files that are exclusively oplocked.
This may make more efficient use of the system CPU's  and  cause
Samba  to  be  faster.  Samba  automatically  turns this off for
clients that use protocol levels lower than NT LM 0.12 and  when
it  detects  a  client  is Windows 9x (using sendfile from Linux
will cause these clients to fail).

Default: use sendfile = yes





More information about the ubuntu-users mailing list