f2fs: use extent_cache by default
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 20 Jun 2015 00:53:26 +0000 (17:53 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Aug 2015 21:09:56 +0000 (14:09 -0700)
commit3e72f721390dc14e7b33fda812843c0725810106
tree0d0b84a3dc6ee8cfe3ef18a5a0f16f94b3c3ae75
parent7daaea256de42da112805703e3c77f08973156b3
f2fs: use extent_cache by default

We don't need to handle the duplicate extent information.

The integrated rule is:
 - update on-disk extent with largest one tracked by in-memory extent_cache
 - destroy extent_tree for the truncation case
 - drop per-inode extent_cache by shrinker

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