Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (diskfs_enter_lookup_cache): Never cache . or .. | Michael I. Bushnell | 1996-04-12 | 1 | -0/+7 |
| | |||||
* | (struct lookup_cache): | Miles Bader | 1996-04-10 | 1 | -65/+175 |
| | | | | | | | | | | | | | | | | Add NEXT & PREV fields. Rename LEN back to NAME_LEN. (lru_cache, mru_cache): New variables. (first_cache, last_cache): Variables removed. (make_mru, make_lru, find_cache, init_lookup_cache): New functions. (diskfs_enter_lookup_cache, diskfs_purge_lookup_cache, diskfs_check_lookup_cache): Rewrite to use the linked list. Deal with negative entries. Reuse old entries for the given name. | ||||
* | (diskfs_check_lookup_cache): | Miles Bader | 1996-04-10 | 1 | -109/+77 |
| | | | | | | | | | | Correctly handle the case where the lookup returns DIR itself. (diskfs_enter_lookup_cache, diskfs_purge_lookup_cache, diskfs_check_lookup_cache): Renamed from versions without `lookup_'. (diskfs_check_cache): Declare I. (struct lookup_cache, diskfs_enter_cache): Change NAMELEN field to LEN. (_diskfs_purge_cache_deletion): Delete function. | ||||
* | (diskfs_purge_cache): If freeing node at LOOKUP_CACHE_TAIL, bump | Michael I. Bushnell | 1996-04-02 | 1 | -0/+4 |
| | | | | | LOOKUP_CACHE_TAIL back itself too. (_diskfs_purge_cache_deletion): Likewise. | ||||
* | (diskfs_enter_cache): Don't set LC->next->prev if LC->next is null. | Michael I. Bushnell | 1996-04-02 | 1 | -1/+2 |
| | |||||
* | (statistics): New variable. | Michael I. Bushnell | 1996-03-25 | 1 | -0/+11 |
| | | | | (diskfs_check_cache): Keep statistics on cache performance. | ||||
* | *** empty log message *** | Michael I. Bushnell | 1996-03-19 | 1 | -7/+9 |
| | |||||
* | Initial revision | Michael I. Bushnell | 1996-03-19 | 1 | -0/+166 |