[Samba] samba can sendfile, but why no receivefile?
jason at infrant.com
Tue Dec 16 02:01:08 GMT 2003
Samba can use sendfile to improve the performance of READ, but it does not
have receivefile to improve the performance of WRITE. What is the reason?
I just find linux kernel function:
int tcp_read_sock(struct sock *sk, read_descriptor_t *desc,
which suppose is the conterpart of sendfile(). But it seems almost nobody
use it to do something.
More information about the samba