All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Nyberg <alexn@telia.com>
To: linux-kernel@vger.kernel.org
Subject: 2.6 and sendfile()
Date: Sat, 29 May 2004 15:09:42 +0200	[thread overview]
Message-ID: <1085836181.648.10.camel@boxen> (raw)

2.6 no longer seems to support copying files via sys_sendfile(), only
files to sockets. It gets stuck at do_sendfile()

if (!out_file->f_op || !out_file->f_op->sendpage)

None of the file systems has a sendpage function, is this intentional?
After googling around I saw this has resulted in some broken programs. 

Was the semantics of sendfile() simply changed and in that case why,
cause it should be a bit of a speed booster to many applications.

Alex


                 reply	other threads:[~2004-05-29 13:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1085836181.648.10.camel@boxen \
    --to=alexn@telia.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 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.