Certificates

Author adrian@creative.net.au
Branch net.cacheboy.squid.adrian
Changelog
This stuff is a feature request from Mark @ Wikimedia.org.
He's asked for some logic to degrade gracefully if the disk load is too high.
Squid has logic in it to stop swapping objects out if the disk load is too high
but didn't have anything to handle failing object opens.
This is the initial pass:
* implement the checkload function for each storedir
* implement checking it in storeOpen()
Todo:
* testing!
* clean up checkobj functions so it just returns whether the store will
take the object or not; relegate checking loadav-related stuff to this
function..
* .. and check SD->loadav during store server selection; don't select
storedirs which are overloaded.
Date 2006-04-30T14:06:52

Revision Details

Oldrevision Old revision is: [6676c716..] (diff)
Patch Patch file src/enums.h (diff)
Patch file src/fs/aufs/store_dir_aufs.c (diff)
Patch file src/fs/coss/store_dir_coss.c (diff)
Patch file src/fs/diskd/store_dir_diskd.c (diff)
Patch file src/fs/null/store_null.c (diff)
Patch file src/fs/ufs/store_dir_ufs.c (diff)
Patch file src/store_io.c (diff)
Patch file src/structs.h (diff)
Patch file src/typedefs.h (diff)
Ancestry of 816b792b3ba533b402fda6b68f5eccc94e2c9b28
reading this graph