summaryrefslogtreecommitdiff
path: root/fs/quota/quota_v1.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-07-16 10:28:47 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-07-16 10:28:47 -0400
commit63b999685cb372e24eb73f255cd73547026370fd (patch)
tree92053ac3ca2fa7ba351fce31d558ba13cc37926d /fs/quota/quota_v1.c
parent76828c882630ced08b5ddce22cc0095b05de9bc5 (diff)
ext4: call ext4_es_lru_add() after handling cache miss
If there are no items in the extent status tree, ext4_es_lru_add() is a no-op. So it is not sufficient to call ext4_es_lru_add() before we try to lookup an entry in the extent status tree. We also need to call it at the end of ext4_ext_map_blocks(), after items have been added to the extent status tree. This could lead to inodes with that have extent status trees but which are not in the LRU list, which means they won't get considered for eviction by the es_shrinker. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: Zheng Liu <wenqing.lz@taobao.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/quota/quota_v1.c')
0 files changed, 0 insertions, 0 deletions