Re: tcp_sendpage and page allocation lifetime vs. iscsi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 25, 2005 at 12:19:53PM -0700, David S. Miller wrote:
> Or, he could simply not try to reuse the private buffer he is
> giving to TCP.

'cept the buffer is managed by scsi/st.c, not the iscsi driver.  So
it's either changing the read/write buffer control rules scsi uses, or
systematically copying the data before sending.  Not that good
performance-wise, especially since most of the time tcp_sendpage does
not want to grab the page.

Do you think possible to extent the sendpage api to add some kind of
"don't get the pages, copy them if you need them" flag?

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux