All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6 and sendfile()
@ 2004-05-29 13:09 Alexander Nyberg
  0 siblings, 0 replies; only message in thread
From: Alexander Nyberg @ 2004-05-29 13:09 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-29 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-29 13:09 2.6 and sendfile() Alexander Nyberg

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.