[Qemu-devel] [PATCHv5 11/11] rewrite iov_send_recv() and move it to iov.c

2012-03-19 Thread Michael Tokarev
Make it much more understandable, add a missing iov_cnt argument (number of iovs in the iov), and add comments to it. The new implementation has been extensively tested by splitting a large buffer into many small randomly-sized chunks, sending it over socket to another, slow process and verifying

[Qemu-devel] [PATCHv5 11/11] rewrite iov_send_recv() and move it to iov.c

2012-03-16 Thread Michael Tokarev
Make it much more understandable, add a missing iov_cnt argument (number of iovs in the iov), and add comments to it. The new implementation has been extensively tested by splitting a large buffer into many small randomly-sized chunks, sending it over socket to another, slow process and verifying