Skip to content
Snippets Groups Projects
Commit 9560ba30 authored by Greg Thelen's avatar Greg Thelen Committed by Jan Kara
Browse files

quota: reclaim least recently used dquots


The dquots in the free_dquots list are not reclaimed in LRU way.
put_dquot_last() puts entries to the tail and dqcache_shrink_scan()
frees from the tail. Free unreferenced dquots in LRU order because it
seems more reasonable than freeing most recently used.

Signed-off-by: default avatarGreg Thelen <gthelen@google.com>
Signed-off-by: default avatarShakeel Butt <shakeelb@google.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 81e97f01
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment