From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Christoph Hellwig <hch@infradead.org>
Cc: Petr Vandrovec <VANDROVE@vc.cvut.cz>,
linux-kernel@vger.kernel.org, richard@bouska.cz
Subject: Re: NFS mountned directory and apache2 (2.5.47)
Date: Fri, 15 Nov 2002 21:53:03 +0100 [thread overview]
Message-ID: <15829.24239.643774.231548@helicity.uio.no> (raw)
In-Reply-To: <20021115202649.A18706@infradead.org>
>> 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.
Fair enough. The kernel may not be the appropriate place for providing
such an emulation, but there's no reason why glibc shouldn't be able
to do so for the case where sendfile returns EINVAL.
However none of this changes the matter of the NFS client. The latter
*does* support a pagecache, and so the one-line patch is appropriate.
Cheers,
Trond
next prev parent reply other threads:[~2002-11-15 20:46 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
2002-11-15 20:26 ` Christoph Hellwig
2002-11-15 20:53 ` Trond Myklebust [this message]
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.24239.643774.231548@helicity.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=VANDROVE@vc.cvut.cz \
--cc=hch@infradead.org \
--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®