Hook inline data read/write in address space operations.
Signed-off-by: Huajun Li
Signed-off-by: Haicheng Li
---
fs/f2fs/data.c | 78 ++--
fs/f2fs/file.c |9 +--
2 files changed, 83 insertions(+), 4 deletions(-)
diff --git a/fs/f2fs
From: Haicheng Li
Add Kconfig interface for inline data support, and update Makefile to
compile new added source file.
Signed-off-by: Haicheng Li
Signed-off-by: Huajun Li
---
fs/f2fs/Kconfig | 10 ++
fs/f2fs/Makefile |1 +
2 files changed, 11 insertions(+)
diff --git a/fs/f2fs
f2fs inode is so large, small files can be stored directly in the inode,
rather than just storing a single block address and storing the data elsewhere.
This RFC patch set is just to enable f2fs support inline data: files less than
about 3.6K can be stored directly in inode block.
TODO: make smal
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
Signed-off-by: Haicheng Li
---
fs/f2fs/inline.c | 152 ++
1 file changed, 152 ins
From: Haicheng Li
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
Signed-off-by: Huajun Li
---
fs/f2fs/f2fs.h | 70
From: Haicheng Li
Add tracepoints for: f2fs_read_inline_data(), f2fs_convert_inline_data(),
f2fs_write_inline_data().
Cc: Steven Rostedt
Signed-off-by: Haicheng Li
Signed-off-by: Huajun Li
---
fs/f2fs/inline.c|4 +++
include/trace/events/f2fs.h | 69
www.designbuddys.com
When You Choose DesignBuddy's
You Get a Web Company that is Full of Energy
We Offer:
On Mon, 2013-06-03 at 18:04 +0800, Huajun Li wrote:
> From: Haicheng Li
>
> Add tracepoints for: f2fs_read_inline_data(), f2fs_convert_inline_data(),
> f2fs_write_inline_data().
>
> Cc: Steven Rostedt
> Signed-off-by: Haicheng Li
> Signed-off-by: Huajun Li
> ---
> fs/f2fs/inline.c
On Mon, Jun 03, 2013 at 09:50:00AM -0400, Steven Rostedt wrote:
> Can you convert the above to use DECLARE_EVENT_CLASS() and
> DEFINE_EVENT(), as the above three are basically the same. You'll save a
> few K in text by doing so.
sure, thank you for the review.
>
> > +
> > #endif /* _TRACE_F2FS
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, H
On 06/01/2013 03:20 PM, Namjae Jeon wrote:
> From: Namjae Jeon
>
> 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 option, which
>
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 performance
Hi Jaegeuk & Namjae,
Sure, we'll address your comments. And this version is RFC, just wanna to
make sure this feature is meaningful for f2fs project, and there is no obvious
mistake, e.g. missing some critical path.
And if you team has some special opensource test suites used in your daily
f2fs t
13 matches
Mail list logo