lkml.org 
[lkml]   [2002]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NFS mountned directory and apache2 (2.5.47)
On Fri, Nov 15, 2002 at 09:16:16PM +0100, Trond Myklebust wrote:
> >>>>> " " == Petr Vandrovec <VANDROVE@vc.cvut.cz> writes:
>
> > 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.
>
> I disagree. Sendfile can *always* be emulated using the standard file
> 'read' method.

Linus removed that in early 2.5 because it led to kmap() deadlocks.
sendfile can fail with EINVAL and userspace must not rely on it
working on any object.

-
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    [W:0.045 / U:0.184 seconds]
©2003-2014 Jasper Spaans. Advertise on this site