From: Pierre Etchemaite <petchema@concept-micro.com>
To: David Schwartz <davids@webmaster.com>
Cc: linux-kernel@vger.kernel.org
Subject: RE: tmpfs + sendfile bug ?
Date: Tue, 22 May 2001 00:44:56 +0200 (CEST) [thread overview]
Message-ID: <XFMail.20010522004456.petchema@concept-micro.com> (raw)
In-Reply-To: <NCBBLIEPOCNJOAEKBEAKCECOPDAA.davids@webmaster.com>
On 21-May-2001 David Schwartz wrote:
>
>> Any idea ?
>
> Looks like a bug in the program. If 'sendfile' returns 'EINVAL', that
means
> you can't use 'sendfile' to send this particular file, and should default to
> read/write or mmap/write. If this program doesn't, it doesn't understand
> Linux's 'sendfile' semantics.
Agreed, I came up to the same conclusion. Applications shouldn't assume that
sendfile will always work, and be ready to fall back to the traditional DIY
way of sending data.
I just downloaded more recent sources of proftpd (1.2.2rc2), and it looks
fixed, already... Time to upgrade :)
Regards,
Pierre.
prev parent reply other threads:[~2001-05-21 22:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-21 16:35 tmpfs + sendfile bug ? Pierre Etchemaite
2001-05-21 16:57 ` Christoph Rohland
2001-05-21 22:01 ` Linus Torvalds
[not found] ` <200105212201.PAA17247@penguin.transmeta.com>
2001-05-22 6:50 ` Christoph Rohland
2001-05-21 18:49 ` David Schwartz
2001-05-21 22:44 ` Pierre Etchemaite [this message]
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=XFMail.20010522004456.petchema@concept-micro.com \
--to=petchema@concept-micro.com \
--cc=davids@webmaster.com \
--cc=linux-kernel@vger.kernel.org \
/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