public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: NFS mountned  directory  and apache2 (2.5.47)
@ 2002-11-15 18:19 Petr Vandrovec
  2002-11-15 20:16 ` Trond Myklebust
  0 siblings, 1 reply; 9+ messages in thread
From: Petr Vandrovec @ 2002-11-15 18:19 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: linux-kernel, richard

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
                                                

^ permalink raw reply	[flat|nested] 9+ messages in thread
* NFS mountned  directory  and apache2 (2.5.47)
@ 2002-11-15 10:25 Richard Bouska
  2002-11-15 18:10 ` Trond Myklebust
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Bouska @ 2002-11-15 10:25 UTC (permalink / raw)
  To: linux-kernel

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.
The server is on 2.4.18. When I use the 2.4 also on client everything 
works. When the content of the page is CGI generated then the size is 
not limited like this.
Both client and server are x86 (athlon)
kernel compiled with: gcc version 2.95.4 20011002 (Debian prerelease)

sendfile() bug ??

Any ideas
Richard Bouska



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-11-17 20:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-15 18:19 NFS mountned directory and apache2 (2.5.47) Petr Vandrovec
2002-11-15 20:16 ` Trond Myklebust
2002-11-15 20:26   ` Christoph Hellwig
2002-11-15 20:53     ` Trond Myklebust
2002-11-16  4:44       ` Christoph Hellwig
2002-11-17 20:18         ` Trond Myklebust
2002-11-15 21:10     ` Linus Torvalds
  -- strict thread matches above, loose matches on Subject: below --
2002-11-15 10:25 Richard Bouska
2002-11-15 18:10 ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox