[f2fs-dev] [PATCH 1/2] f2fs: avoid unnecessary bio submit when wait page writeback

2014-03-22 Thread Chao Yu
This patch introduce is_merged_page() to check whether current page is merged in f2fs bio cache. When page is not in cache, we can avoid submitting bio cache, resulting in having more chance to merge pages. Signed-off-by: Chao Yu --- fs/f2fs/data.c|8 fs/f2fs/f2fs.h|2

[f2fs-dev] [PATCH 1/2] f2fs: avoid unnecessary bio submit when wait page writeback

2014-03-22 Thread Chao Yu
This patch introduce is_merged_page() to check whether current page is merged in f2fs bio cache. When page is not in cache, we can avoid submitting bio cache, resulting in having more chance to merge pages. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/data.c|8