From: Jan Blunck <j.blunck@tu-harburg.de>
To: frederik@ofb.net
Cc: fsdevel <linux-fsdevel@vger.kernel.org>
Subject: Re: sendfile
Date: Mon, 06 Jun 2005 11:09:54 +0200 [thread overview]
Message-ID: <42A412E2.500@tu-harburg.de> (raw)
In-Reply-To: <20050606062452.GB6951@a5.repetae.net>
Frederik Eaton wrote:
>
> Why was 'sendfile' changed in 2.6 to only accept a socket destination?
> (the man page doesn't explain)
AFAIK it was because of big file->file sendfiles, which could easily
block the entire system.
> If this restriction were removed, wouldn't the 'sendfile' system call
> also be useful as interface to copy-on-write filesystems?
There are a few patches (sendfile part of the COW-Link patches from
Joern Engel, http://wohnheim.fh-wedel.de/~joern/cowlink/, and Alexander
Nybergs generic_file_sendpage() patch,
http://marc.theaimsgroup.com/?l=linux-kernel&m=108680821325052&w=2)
available. But I don't think the chances are high that Al will push them
into the mainstream kernel.
Jan
next prev parent reply other threads:[~2005-06-06 9:10 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-06 6:24 sendfile Frederik Eaton
2005-06-06 9:09 ` Jan Blunck [this message]
2005-06-07 7:06 ` sendfile Frederik Eaton
2005-06-07 15:46 ` sendfile Jan Blunck
-- strict thread matches above, loose matches on Subject: below --
2003-04-30 14:28 sendfile Pål Halvorsen
2003-04-30 16:51 ` sendfile bert hubert
2003-04-30 19:12 ` sendfile Pål Halvorsen
2003-04-30 19:28 ` sendfile bert hubert
2003-04-30 21:57 ` sendfile Pål Halvorsen
2003-04-30 22:18 ` sendfile Mark Mielke
2003-04-30 22:34 ` sendfile Pål Halvorsen
2003-05-01 4:28 ` sendfile Mark Mielke
2003-05-01 15:25 ` sendfile Joseph Malicki
2003-05-01 21:17 ` sendfile Pål Halvorsen
2003-05-01 22:31 ` sendfile Chris Friesen
2003-05-01 23:32 ` sendfile Ketil Froyn
2003-05-02 9:02 ` sendfile Bernd Eckenfels
2003-05-02 2:41 ` sendfile Mark Mielke
2003-05-02 4:19 ` sendfile Chris Friesen
2003-05-02 21:06 ` sendfile Mark Mielke
2003-05-03 0:42 ` sendfile Miquel van Smoorenburg
2003-05-03 15:04 ` sendfile Mark Mielke
2003-05-03 12:52 ` sendfile Pål Halvorsen
2003-05-03 21:01 ` sendfile Pål Halvorsen
2003-05-04 0:53 ` sendfile Miquel van Smoorenburg
2001-05-24 8:44 sendfile Pål Halvorsen
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=42A412E2.500@tu-harburg.de \
--to=j.blunck@tu-harburg.de \
--cc=frederik@ofb.net \
--cc=linux-fsdevel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.