linux/fs/f2fs
Jaegeuk Kim c11abd1a80 f2fs: disable the extent cache ops on high fragmented files
The f2fs manages an extent cache to search a number of consecutive data blocks
very quickly.

However it conducts unnecessary cache operations if the file is highly
fragmented with no valid extent cache.

In such the case, we don't need to handle the extent cache, but just can disable
the cache facility.

Nevertheless, this patch gives one more chance to enable the extent cache.

For example,
1. create a file
2. write data sequentially which produces a large valid extent cache
3. update some data, resulting in a fragmented extent
4. if the fragmented extent is too small, then drop extent cache
5. close the file

6. open the file again
7. give another chance to make a new extent cache
8. write data sequentially again which creates another big extent cache.
...

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
2013-12-23 10:18:01 +09:00
..
acl.c f2fs: fix a deadlock during init_acl procedure 2013-10-28 13:39:09 +09:00
acl.h f2fs: fix a deadlock during init_acl procedure 2013-10-28 13:39:09 +09:00
checkpoint.c f2fs: cleanup waiting routine for writeback pages in cp 2013-11-08 14:10:29 +09:00
data.c f2fs: disable the extent cache ops on high fragmented files 2013-12-23 10:18:01 +09:00
debug.c
dir.c f2fs: add an option to avoid unnecessary BUG_ONs 2013-10-29 15:44:38 +09:00
f2fs.h f2fs: disable the extent cache ops on high fragmented files 2013-12-23 10:18:01 +09:00
file.c f2fs: avoid to wait all the node blocks during fsync 2013-10-31 16:01:03 +09:00
gc.c f2fs: introduce f2fs_balance_fs_bg for some background jobs 2013-10-25 16:54:38 +09:00
gc.h f2fs: optimize gc for better performance 2013-09-05 13:50:32 +09:00
hash.c
inode.c f2fs: add an option to avoid unnecessary BUG_ONs 2013-10-29 15:44:38 +09:00
Kconfig f2fs: introduce CONFIG_F2FS_CHECK_FS for BUG_ON control 2013-10-29 15:43:01 +09:00
Makefile
namei.c f2fs: fix writing incorrect orphan blocks 2013-10-08 10:19:28 +09:00
node.c f2fs: remove unnecessary TestClearPageError when wait pages writeback 2013-11-04 12:24:01 +09:00
node.h
recovery.c f2fs: add an option to avoid unnecessary BUG_ONs 2013-10-29 15:44:38 +09:00
segment.c f2fs: use sbi->write_mutex for write bios 2013-12-23 10:18:01 +09:00
segment.h f2fs: check all ones or zeros bitmap with bitops for better mount performance 2013-10-30 12:23:23 +09:00
super.c f2fs: use sbi->write_mutex for write bios 2013-12-23 10:18:01 +09:00
xattr.c f2fs: fix calculating incorrect free size when update xattr in __f2fs_setxattr 2013-10-29 15:56:08 +09:00
xattr.h f2fs: support the inline xattrs 2013-08-26 20:15:23 +09:00