[f2fs-dev] [RFC 2/5] f2fs: Handle inline data read and write

2013-06-03 Thread Huajun Li
Hook inline data read/write in address space operations. Signed-off-by: Huajun Li huajun...@intel.com Signed-off-by: Haicheng Li haicheng...@linux.intel.com --- fs/f2fs/data.c | 78 ++-- fs/f2fs/file.c |9 +-- 2 files changed, 83

[f2fs-dev] [RFC 4/5] f2fs: Add Kconfig interface for inline data support

2013-06-03 Thread Huajun Li
From: Haicheng Li haicheng...@linux.intel.com Add Kconfig interface for inline data support, and update Makefile to compile new added source file. Signed-off-by: Haicheng Li haicheng...@linux.intel.com Signed-off-by: Huajun Li huajun...@intel.com --- fs/f2fs/Kconfig | 10 ++

[f2fs-dev] [RFC 3/5] f2fs: Key functions to handle inline data

2013-06-03 Thread Huajun Li
Functions to implement inline data read/write, and move inline data to normal data block when file size exceeds inline data limitation. Signed-off-by: Huajun Li huajun...@intel.com Signed-off-by: Haicheng Li haicheng...@linux.intel.com --- fs/f2fs/inline.c | 152

[f2fs-dev] [RFC 1/5] f2fs: Add helper functions and flag to support inline data

2013-06-03 Thread Huajun Li
From: Haicheng Li haicheng...@linux.intel.com Add a new flag i_dyn_flags to struct f2fs_inode_info to indicate whether the inode has inline data, and sync the flag with raw inode while update file. Signed-off-by: Haicheng Li haicheng...@linux.intel.com Signed-off-by: Huajun Li

Re: [f2fs-dev] [RFC 5/5] f2fs: add tracepoints to debug inline data operations

2013-06-03 Thread Steven Rostedt
On Mon, 2013-06-03 at 18:04 +0800, Huajun Li wrote: From: Haicheng Li haicheng...@linux.intel.com Add tracepoints for: f2fs_read_inline_data(), f2fs_convert_inline_data(), f2fs_write_inline_data(). Cc: Steven Rostedt rost...@goodmis.org Signed-off-by: Haicheng Li

Re: [f2fs-dev] [RFC 0/5] Enable f2fs support inline data

2013-06-03 Thread Jaegeuk Kim
Hi, This feature is one of my todo items. ;) Thank you for the contribution. Before reviewing the below code intensively, we need to check the following issues. - deadlock conditions - FS consistency - recovery routine Could you check one more time? Thanks again, 2013-06-03 (월), 18:04 +0800,

Re: [f2fs-dev] [PATCH 1/2] f2fs: add remount_fs callback support

2013-06-03 Thread Gu Zheng
On 06/01/2013 03:20 PM, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com Add the f2fs_remount function call which will be used during the filesystem remounting. This function will help us to change the mount options specific to f2fs. Also modify the f2fs background_gc mount

Re: [f2fs-dev] [RFC 0/5] Enable f2fs support inline data

2013-06-03 Thread Namjae Jeon
Hi. Huajun. I agree jaegeuk's opinion. Additionally, It is better that you describe the effect in change-log when this feature is added to f2fs. e.g. 1. how much space is saved when storing kernel-tree(small files) ? 2. small files creation performance test. 3. file look-up