]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: shrink unreferenced extent_caches first
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 29 Jun 2015 23:34:39 +0000 (16:34 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Aug 2015 21:09:57 +0000 (14:09 -0700)
commit7023a1ad17f4e21acb74167ab647cd123d9eb801
tree69a9bf6bd6aa3f15b839f5ad730a3d969340201a
parentbb96a8d51e523c162b436c4545eb1a4e9f9f530e
f2fs: shrink unreferenced extent_caches first

If an extent_tree entry has a zero reference count, we can drop it from the
cache in higher priority rather than currently referencing entries.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c