Re: sendfile(2) behaviour has changed ?

From: James Antill (james@and.org)
Date: Thu Oct 17 2002 - 18:23:10 EST


"David S. Miller" <davem@redhat.com> writes:

> From: James Antill <james@and.org>
> Date: 17 Oct 2002 16:51:30 -0400
>
> It really needs a new interface for recvfile/copyfile/whatever
> anyway, as you can only specify an off_t for the from fd at present.
>
> Ummm, you can use lseek() on the 'to' fd perhaps?

 On the client side it's pretty useful to be able to write into the
same file from the network from multiple connections.

 You could say that you are much more likely to have multiple
connections reading from one file than have them writing to the
same file on the server, but then there the errno problem is much more
obvious.

-- 
# James Antill -- james@and.org
:0:
* ^From: .*james@and\.org
/dev/null
-
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/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:38 EST