Searched hist:edaa53cac8fd4b96ed4b8f96c4933158ff2dd337 (Results 1 – 1 of 1) sorted by relevance
/linux/include/trace/events/ |
H A D | ext4.h | diff edaa53cac8fd4b96ed4b8f96c4933158ff2dd337 Tue Nov 25 17:45:37 CET 2014 Zheng Liu <wenqing.lz@taobao.com> ext4: change LRU to round-robin in extent status tree shrinker
In this commit we discard the lru algorithm for inodes with extent status tree because it takes significant effort to maintain a lru list in extent status tree shrinker and the shrinker can take a long time to scan this lru list in order to reclaim some objects.
We replace the lru ordering with a simple round-robin. After that we never need to keep a lru list. That means that the list needn't be sorted if the shrinker can not reclaim any objects in the first round.
Cc: Andreas Dilger <adilger.kernel@dilger.ca> Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
|