From: Andrew Morton <akpm@zip.com.au>
To: Dan Maas <dmaas@dcine.com>
Cc: Chris Wedgwood <cw@f00f.org>, linux-kernel@vger.kernel.org
Subject: Re: LFS Support for Sendfile
Date: Sat, 02 Mar 2002 21:34:52 -0800 [thread overview]
Message-ID: <3C81B5FC.CD08979A@zip.com.au> (raw)
In-Reply-To: <fa.inaf1vv.one4p5@ifi.uio.no> <fa.esfhmsv.bku814@ifi.uio.no> <02bb01c1c271$7f717700$1a01a8c0@allyourbase>
Dan Maas wrote:
>
> > [sendfile(2)] as defined does not support LFS.
> >
> > I wonder does it really need to? I mean, a loop calling sendfile for
> > 2GB (or whatever) at a time is almost as good, if not better in some
> > ways.
>
> The 'count' parameter is not the problem, it's the 'offset'. You can't send
> any data beyond 2GB from the beginning of the file...
>
> And in fact just two days ago I was in a situation where this would have
> been desirable - I was sending parts of a captured DV video stream (the file
> was 6GB)...
>
We need a sendfile64() system call. It's really simple, but
nobody did it.
-
next prev parent reply other threads:[~2002-03-03 5:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.inaf1vv.one4p5@ifi.uio.no>
[not found] ` <fa.esfhmsv.bku814@ifi.uio.no>
2002-03-03 5:08 ` LFS Support for Sendfile Dan Maas
2002-03-03 5:34 ` Andrew Morton [this message]
2002-02-28 0:27 Doug O'Neil
2002-02-28 1:22 ` Doug McNaught
2002-02-28 8:03 ` Matti Aarnio
2002-03-02 22:24 ` Chris Wedgwood
2002-03-03 12:36 ` Hans Reiser
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=3C81B5FC.CD08979A@zip.com.au \
--to=akpm@zip.com.au \
--cc=cw@f00f.org \
--cc=dmaas@dcine.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