]> err.no Git - varnish/commit
Look for the new SF_SYNC facility in FreeBSDs sendfile(2), and if we
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 3 Feb 2008 15:59:01 +0000 (15:59 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 3 Feb 2008 15:59:01 +0000 (15:59 +0000)
commitc6fd845824cf4c661bf2633e2f1b7dc72bed4858
tree4cf2e4708b8299a6692bee560bbc30172bd33a84
parent499c372dd233a37b74e8774607aad013355a3f23
Look for the new SF_SYNC facility in FreeBSDs sendfile(2), and if we
find it, allow its use, but still default to off via sendfile_threshold
paramter.

SF_SYNC is only available in FreeBSD-current as of a few seconds
ago, and is unlikely to appear in any release before FreeBSD-8.0
for intricate reasons of ABI compliance.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2417 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_pool.c
varnish-cache/bin/varnishd/cache_response.c
varnish-cache/bin/varnishd/heritage.h
varnish-cache/bin/varnishd/mgt_param.c
varnish-cache/configure.ac