lib/cache: relaxed API to allow other assets than RR
each asset is tagged by a byte defining its type and importance this is a groundwork for negative cache and packet cache abstracted the code in preparation for different backends
Showing
- lib/cache.c 154 additions, 92 deletionslib/cache.c
- lib/cache.h 60 additions, 26 deletionslib/cache.h
- lib/layer/itercache.c 4 additions, 4 deletionslib/layer/itercache.c
- lib/zonecut.c 2 additions, 2 deletionslib/zonecut.c
- modules/cachectl/cachectl.c 5 additions, 17 deletionsmodules/cachectl/cachectl.c
- tests/test_cache.c 20 additions, 19 deletionstests/test_cache.c
Please register or sign in to comment