Re: tcp_sendpage and page allocation lifetime vs. iscsi
From: David S. Miller
Date: Mon Apr 25 2005 - 14:38:44 EST
On Mon, 25 Apr 2005 22:11:16 +0300
Avi Kivity <avi@xxxxxxxxxx> wrote:
> you need a completion to tell you when your buffer has been sent. you
> can use the kiocb parameter to tcp_sendmsg, as it has a completion.
> however, tcp_sendmsg does not appear to use it.
>
> in effect, you need tcp aio, but the mainline kernel does not support it
> yet.
Or, he could simply not try to reuse the private buffer he is
giving to TCP.
-
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/