Re: Early SPECWeb99 results on 2.5.33 with TSO on e1000

Jeff Garzik (jgarzik@mandrakesoft.com)
Mon, 16 Sep 2002 19:48:37 -0400


David S. Miller wrote:
> From: Jeff Garzik <jgarzik@mandrakesoft.com>
> Date: Mon, 16 Sep 2002 19:08:15 -0400
>
> I was rather disappointed when file->file sendfile was [purposefully?]
> broken in 2.5.x...
>
> What change made this happen?

I dunno when it happened, but 2.5.x now returns EINVAL for all
file->file cases.

In 2.4.x, if sendpage is NULL, file_send_actor in mm/filemap.c faked a
call to fops->write().
In 2.5.x, if sendpage is NULL, EINVAL is unconditionally returned.

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