[f2fs-dev] [PATCH] f2fs: avoid wait if IO end up when do_checkpoint for better performance

2013-10-14 Thread Gu Zheng
Previously, do_checkpoint() will call congestion_wait() for waiting the pages (previous submitted node/meta/data pages) to be written back. Because congestion_wait() will set a regular period (e.g. HZ / 50 ) for waiting, and no additional wake up mechanism was introduced if IO ends up before

[f2fs-dev] [PATCH RESEND] f2fs: introduce function read_raw_super_block()

2013-10-14 Thread Gu Zheng
Introduce function read_raw_super_block() to hide reading raw super block and the retry routine if the first sb is invalid. Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/f2fs/super.c | 54 +- 1 files changed, 33 insertions(+), 21

Re: [f2fs-dev] BUG_ON in recovery.c after powercut

2013-10-14 Thread Jaegeuk Kim
Hi, If possible, can you test the below scenario with the latest f2fs? The latest f2fs is available from: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs.git/log/?h=dev Otherwise, could you send the broken image to me? I'd like to see what happend. Thank you, 2013-10-10 (목), 16:23