CVS update: samba/source

jra at dp.samba.org jra at dp.samba.org
Sun Oct 6 03:04:13 EST 2002


On Sat, Oct 05, 2002 at 08:36:32AM +0200, Simo Sorce wrote:
> Have the problems of use of sendfile been solved some way?
> What happen if there's an error while sending? (Like file changing size
> after we sent the size in the header?)

We only turn it on if the file is exclusively oplocked with
no write cache. It's only completely safe if the we have
kernel oplocks, but if we get a short read we exit smbd with
an error (which is all we can do) - the file is corrupted
in that case.

Jeremy.



More information about the samba-cvs mailing list