On 8/26/22 17:04, Pavel Begunkov wrote:
Lenght parameter of io_sg_from_iter() can be smaller than the iterator's size, as it's with TCP, so when we set from->count at the end of the function we truncate the iterator forcing TCP to return preliminary with a short send. It affects zerocopy sends with large payload sizes and leads to retries and possible request failures.
sent a wrong one, please ignore -- Pavel Begunkov