> > Hello In 2.45.47 and 2.5.46 (at least) did not try any other am
> > I not able to serve files bigger than 255 bytes by apache2 from
> > nfs mounted directory. The local files are served correctly.
>
> Looks like whoever it was that changed the 'sendfile' API forgot to
> update NFS. Try the following patch.
It does not change anything on the brokeness of apache2 (or maybe
glibc). It must be able to revert to read/write loop if sendfile fails
with EINVAL. There is no guarantee that existing sendfile() API means
that you can use it with all filesystems.
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/