]> err.no Git - varnish/commit
mmap as much as the file as we are able to when the cache process opens
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 13 Jun 2006 13:47:51 +0000 (13:47 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 13 Jun 2006 13:47:51 +0000 (13:47 +0000)
commit26f08229f603f9c223ae0fbca8411cbc9076685a
tree08b2b7ad57178d9f5c668608873f4b9817187ed6
parent2506db95cbd52d2523025050f9fe8d5cda02778e
mmap as much as the file as we are able to when the cache process opens
the stevedore.

This should probably be (fine-)tuned later on as it might be too aggressive
when faced with user errors.

Also, might it be possible to mmap() more than MAX_SIZE_T bytes if
it is done in multiple calls ?

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@176 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/storage_file.c