From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
Cc: linux-kernel@vger.kernel.org, richard@bouska.cz
Subject: Re: NFS mountned directory and apache2 (2.5.47)
Date: Fri, 15 Nov 2002 21:16:16 +0100 [thread overview]
Message-ID: <15829.22032.166977.73195@helicity.uio.no> (raw)
In-Reply-To: <79A23782BB8@vcnet.vc.cvut.cz>
>>>>> " " == 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.
For most filesystems, that means just reading directly from the page
cache, and that is precisely what generic_file_sendfile() does. IIRC,
the sendfile() inode op was added so that those few filesystems which
don't support direct reading of the page cache could roll their own.
Cheers,
Trond
next prev parent reply other threads:[~2002-11-15 20:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-15 18:19 Petr Vandrovec
2002-11-15 20:16 ` Trond Myklebust [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15829.22032.166977.73195@helicity.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=VANDROVE@vc.cvut.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=richard@bouska.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®