The tricky part...
Posted Apr 27, 2006 16:33 UTC (Thu) by axboe
In reply to: How does this differ from aio_write?
Parent article: The splice() weekly news
isn't so much how to notify reusability, but rather when to determine the safety of doing so. We still need to change a bit of infrastructure for this - eg, get rid of ->sendpage() and actually pass the pipe_inode_info down for network transmit and only have it do the ->release on the buffers when they have been sent out. The issue right now is that the ->release is done as soon as we pass the page to the network stack, which is too soon of course.
to post comments)