[f2fs-dev] [PATCH] f2fs: use f2fs_put_page to release page for uniform style

2013-11-15 Thread Chao Yu
We should use f2fs_put_page to release page for uniform style of f2fs code. Signed-off-by: Chao Yu --- fs/f2fs/data.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index aa3438c..076a60c 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @

[f2fs-dev] [PATCH V2 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-15 Thread Chao Yu
Previously we read sit entries page one by one, this method lost the chance of reading contiguous page together. So we read pages as contiguous as possible for better mount performance. v1-->v2: o merge judgements/use 'Continue' or 'Break' instead of 'Goto' as Gu Zheng suggested. o add mark_pa

[f2fs-dev] [PATCH V2 1/2] f2fs: add a new function to support for merging contiguous read

2013-11-15 Thread Chao Yu
For better read performance, we add a new function to support for merging contiguous read as the one for write. v1-->v2: o add declarations here as Gu Zheng suggested. Signed-off-by: Chao Yu Acked-by: Gu Zheng --- fs/f2fs/data.c | 45 + fs/f2fs/f