[PATCH] tcp: splice as many packets as possible at once

From: Willy Tarreau
Date: Thu Jan 08 2009 - 12:34:23 EST


Jens,

here's the other patch I was talking about, for better behaviour of
non-blocking splice(). Ben Mansell also confirms similar improvements
in his tests, where non-blocking splice() initially showed half of
read()/write() performance. Ben, would you mind adding a Tested-By
line ?

Also, please note that this is unrelated to the corruption bug I reported
and does not fix it.

Regards,
Willy