Enable tests for splice on Linux. Add a static (vl, I hate this)
authorJeremy Allison <jra@samba.org>
Tue, 6 May 2008 22:46:34 +0000 (15:46 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 6 May 2008 22:46:34 +0000 (15:46 -0700)
commitbad2c3f1c817a94b7638bbf6456ff862829aed76
treef1167f305af0b06b757c1e43f3219ca4f88f7380
parentf620182ac41eaf659cf53842df1089ce1f823654
Enable tests for splice on Linux. Add a static (vl, I hate this)
so we can detect broken Linux recvfile splice and correctly fall
back.
Karolin, I think this should be pulled into 3.2-stable even
though it's a feature change as otherwise there's no way for
3.2 to use recvfile zerocopy, which is an advertised feature.
Others please comment.
Jeremy.
source/configure.in
source/lib/recvfile.c