ext4: introduce aging to extent status tree
authorJan Kara <jack@suse.cz>
Tue, 25 Nov 2014 16:55:24 +0000 (11:55 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 25 Nov 2014 16:55:24 +0000 (11:55 -0500)
Introduce a simple aging to extent status tree. Each extent has a
REFERENCED bit which gets set when the extent is used. Shrinker then
skips entries with referenced bit set and clears the bit. Thus
frequently used extents have higher chances of staying in memory.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

No differences found