[f2fs-dev] [PATCH] f2fs: readahead contiguous SSA blocks for f2fs_gc

2014-02-27 Thread Chao Yu
If there are multi segments in one section, we will read those SSA blocks which have contiguous address one by one in f2fs_gc. It may lost performance, let's read ahead SSA blocks by merge multi read request. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/checkpoint.c |6 --

[f2fs-dev] [PATCH 2/3] f2fs: introduce large directory support

2014-02-27 Thread Jaegeuk Kim
This patch introduces an i_dir_level field to support large directory. Previously, f2fs maintains multi-level hash tables to find a dentry quickly from a bunch of chiild dentries in a directory, and the hash tables consist of the following tree structure as below. In

[f2fs-dev] [PATCH 3/3] f2fs: add an sysfs entry to control the directory level

2014-02-27 Thread Jaegeuk Kim
This patch adds an sysfs entry to control dir_level used by the large directory. The description of this entry is: dir_levelThis parameter controls the directory level to support large directory. If a directory has a

[f2fs-dev] [PATCH 1/3] f2fs: remove costly bit operations for f2fs_find_entry

2014-02-27 Thread Jaegeuk Kim
It turns out that a bit operation like find_next_bit is not always fast enough for f2fs_find_entry. Instead, it is pretty much simple and fast to traverse each dentries. Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/dir.c | 32 +--- 1 file changed, 17

[f2fs-dev] [PATCH] f2fs: use existing macro to clean up some codes

2014-02-27 Thread Chao Yu
This patch use existing macro F2FS_INODE/NEXT_FREE_BLKADDR to clean up some codes. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/f2fs.h |6 ++ fs/f2fs/recovery.c |2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index

[f2fs-dev] Regression in kernel 3.14.0-rc1

2014-02-27 Thread Alex
Hello, After reading phoronix's f2fs benchmarks http://www.phoronix.com/scan.php?page=articleitem=linux_314_ssdfsnum=2 (3rd picture) did kernel bisect and it resulted in this commit https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=fb5566da . PS Tried the latest

[f2fs-dev] 马上注册,每日免费收获英语宝典

2014-02-27 Thread 英孚教育
如需退订请点击此处 -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate

Re: [f2fs-dev] Regression in kernel 3.14.0-rc1

2014-02-27 Thread Jaegeuk Kim
Hi, Thank you for the report. Unfortunately, when I measured dbench in my latest kernel, there was no regression wrt the patch that you found. Kernel: 3.14-rc3 with latest f2fs source codes HW: Intel i5 OS: Ubuntu 12.10 x64 Test: dbench -D /mnt/test -t 6 6 -c ./client.txt The results showed: -