diff options
author | Greg Thelen <gthelen@google.com> | 2018-06-08 04:37:59 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-06-20 12:04:26 +0300 |
commit | 9560ba306df3e46b4b1037d101e2e4ca68610f55 (patch) | |
tree | e480b217731cda6346d560cea44af7cd301a045a /fs/coda | |
parent | 81e97f01371f4e1701feeafe484665112cd9ddc2 (diff) |
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: Greg Thelen <gthelen@google.com>
Signed-off-by: Shakeel Butt <shakeelb@google.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/coda')
0 files changed, 0 insertions, 0 deletions