f2fs: speed up shrinking extent tree entries
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 22 Dec 2015 03:25:50 +0000 (19:25 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 30 Dec 2015 18:13:00 +0000 (10:13 -0800)
commit74fd8d9927ef08db30a85f131a124152aeba66c7
tree7d9acc9ac7ea5196baa96de29fc18a0903299aec
parent7441ccef339f87abc27afc4ccfc24c014d7360c9
f2fs: speed up shrinking extent tree entries

If there is no candidates for shrinking slab entries, we don't need to traverse
any trees at all.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
[Jaegeuk Kim: fix missing initialization reported by Yunlei He]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/extent_cache.c
fs/f2fs/f2fs.h
fs/f2fs/shrinker.c