lkml.org 
[lkml]   [2002]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: NFS mountned directory and apache2 (2.5.47)
On 15 Nov 02 at 19:10, Trond Myklebust wrote:

> > 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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [from the cache]
©2003-2011 Jasper Spaans