[f2fs-dev] [PATCH] f2fs: Add description for fsck.f2fs and dump.f2fs

2013-07-04 Thread Changman Lee
This patch adds some description on fsck.f2fs and dump.f2fs which is recently merged into f2fs-tools. Signed-off-by: Changman Lee --- Documentation/filesystems/f2fs.txt | 43 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/Documentation/files

[f2fs-dev] [PATCH] f2fs: fix readdir incorrectness

2013-07-04 Thread Jaegeuk Kim
In the previous Al Viro's readdir patch set, there occurs a bug when running xfstest: 006 as follows. [Error output] alpha size = 4, name length = 6, total files = 4096, nproc=1 1023 files created rm: cannot remove `/mnt/f2fs/permname.15150/a': Directory not empty [Correct output] alpha size = 4,

[f2fs-dev] [PATCH] f2fs: recover date requested by fdatasync

2013-07-04 Thread Jaegeuk Kim
In order to support SQLite that uses fdatasync instead of fsync, we should guarantee the data requested by fdatasync can be recovered after sudden-power- off. So, let's remove the fdatasync condition in f2fs_sync_file. Otherwise, we can restore the data after sudden-power-off due to nonexistence o