[f2fs-dev] [PATCH] f2fs: merge read IOs at ra_nat_pages()

2013-11-21 Thread Jaegeuk Kim
This patch changes the policy of submitting read bios at ra_nat_pages. Previously, f2fs submits small read bios with block plugging. But, with this patch, f2fs itself merges read bios first and then submits a large bio, which can reduce the bio handling overheads. Signed-off-by: Jaegeuk Kim

[f2fs-dev] [PATCH] f2fs: simplify IS_DATASEG and IS_NODESEG macro

2013-11-21 Thread Changman Lee
It is not efficient comparing each segment type to find node or data. Signed-off-by: Changman Lee cm224@samsung.com --- fs/f2fs/segment.h |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index 269f690..4ace569 100644 ---

[f2fs-dev] [PATCH] f2fs: send REQ_META or REQ_PRIO when reading meta area

2013-11-21 Thread Changman Lee
Let's send REQ_META or REQ_PRIO when reading meta area such as NAT/SIT etc. Signed-off-by: Changman Lee cm224@samsung.com --- fs/f2fs/checkpoint.c |2 +- fs/f2fs/node.c |4 ++-- fs/f2fs/segment.c|4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git