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

2012-03-16 Thread Anthony Liguori
On 03/15/2012 04:00 PM, Michael Tokarev wrote: 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 ov

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

2012-03-15 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