diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-07-12 11:07:52 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-07-15 15:21:20 -0700 |
commit | 5f281fab9b9a30073616c5e25da2111dec2fe482 (patch) | |
tree | fcb4562c2ee2ea20b313401b034b67df789f69c5 /fs/f2fs/f2fs.h | |
parent | 0a2aa8fbb9693020b822ac7a23755591554eaea5 (diff) | |
download | op-kernel-dev-5f281fab9b9a30073616c5e25da2111dec2fe482.zip op-kernel-dev-5f281fab9b9a30073616c5e25da2111dec2fe482.tar.gz |
f2fs: disable extent_cache for fcollapse/finsert inodes
This reduces the elapsed time to do xfstests/generic/017.
Before: 458 s
After: 390 s
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 0e46dd0..b4a46b6 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -2297,6 +2297,7 @@ void f2fs_leave_shrinker(struct f2fs_sb_info *); */ unsigned int f2fs_shrink_extent_tree(struct f2fs_sb_info *, int); bool f2fs_init_extent_tree(struct inode *, struct f2fs_extent *); +void f2fs_drop_extent_tree(struct inode *); unsigned int f2fs_destroy_extent_node(struct inode *); void f2fs_destroy_extent_tree(struct inode *); bool f2fs_lookup_extent_cache(struct inode *, pgoff_t, struct extent_info *); |