Re: [f2fs-dev] [PATCH] fs/f2fs: add cond_resched() to sync_dirty_dir_inodes()

2015-03-03 Thread Sebastian Andrzej Siewior
On 03/03/2015 02:13 AM, Changman Lee wrote: Hi Sebastian, Hi Jaegeuk, After this patch, your test is all done without any CPU stall, Right? correct. IMHO, context should be switched without cond_resched() after consumed own time quota. So, it just reduces system latency due to yielding.

[f2fs-dev] [PATCH 1/3] f2fs: avoid to trigger writepage during POR

2015-03-03 Thread Jaegeuk Kim
This patch doesn't make any effect on previous behavior, since f2fs_write_data_page bypasses writing the page during POR. But, the difference is that this patch avoids holding writepages mutex. This is to avoid the following false warning, since this can happen only when mount and shutdown are

[f2fs-dev] [PATCH 3/3] f2fs: report -ENOENT for unreached data indices

2015-03-03 Thread Jaegeuk Kim
If inode has inline_data, it should report -ENOENT when accessing out-of-bound region. This is used by f2fs_fiemap which treats -ENOENT with no error. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[f2fs-dev] [PATCH 2/3] f2fs: clear append/update flags once fsync is done

2015-03-03 Thread Jaegeuk Kim
When fsync is done through checkpoint, previous f2fs missed to clear append and update flag. This patch fixes to clear them. This was originally catched by Changman Lee before. Signed-off-by: Changman Lee cm224@samsung.com Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/file.c | 2

[f2fs-dev] [PATCH] f2fs: relocate Kconfig from misc filesystems

2015-03-03 Thread Jaegeuk Kim
The f2fs has been shipped on many smartphone devices during a couple of years. So, it is worth to relocate Kconfig into main page from misc filesystems for developers to choose it more easily. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/Kconfig | 2 +- fs/f2fs/Kconfig | 2 +- 2