Whamcloud - gitweb
- fixed bug in fld_cache_delete(), there should be used ..._safe list iterator;
authoryury <yury>
Mon, 14 Aug 2006 14:19:38 +0000 (14:19 +0000)
committeryury <yury>
Mon, 14 Aug 2006 14:19:38 +0000 (14:19 +0000)
commit6604e96c80f6cc85f717efe021f942b0c5e5f430
tree21963f39a0695cbf75b9e5c69f1d9b3052d021a4
parente1d6eb68f40c2c2cba3ef85a61735c6e3be43696
- fixed bug in fld_cache_delete(), there should be used ..._safe list iterator;

- added simple cache shrink mechanism to fld cache. It maintains LRU list and
removes old used entries from it until desired size (passed in init time) is
reached. Also some threshold is used to avoid ping-pong and running shrink
each time as new entry is added in the conditions when cache is almost full.
lustre/fld/fld_cache.c
lustre/fld/fld_request.c
lustre/include/lustre_fld.h