2.6 and sendfile()

From: Alexander Nyberg
Date: Sat May 29 2004 - 08:12:01 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/