Re: [f2fs-dev] [PATCH 6/6] f2fs: add a tracepoint for f2fs_read_data_pages

2014-05-06 Thread Jaegeuk Kim
Hi Chao, 2014-05-06 (화), 16:54 +0800, Chao Yu: > This patch adds a tracepoint for f2fs_read_data_pages to trace when pages are > readahead by VFS. > > Signed-off-by: Chao Yu > --- > fs/f2fs/data.c |3 +++ > include/trace/events/f2fs.h | 26 ++ > 2 file

Re: [f2fs-dev] Segment size

2014-05-06 Thread Jaegeuk Kim
Hi, 2014-05-04 (일), 23:59 +, Paul Ni: > Is it possible to set an arbitrary segment size? I'm trying to set it > to 1.5MiB to make it align with erase blocks on flash chips in my EVO > 840 SSD. Impossible. The hard-coded segment size is fixed to manange the whole FS metadata. If you want to ad

[f2fs-dev] [PATCH 6/6] f2fs: add a tracepoint for f2fs_read_data_pages

2014-05-06 Thread Chao Yu
This patch adds a tracepoint for f2fs_read_data_pages to trace when pages are readahead by VFS. Signed-off-by: Chao Yu --- fs/f2fs/data.c |3 +++ include/trace/events/f2fs.h | 26 ++ 2 files changed, 29 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2

[f2fs-dev] [PATCH 5/6] f2fs: add a tracepoint for f2fs_read_data_page

2014-05-06 Thread Chao Yu
This patch adds a tracepoint for f2fs_read_data_page to trace when page is readed by user. Signed-off-by: Chao Yu --- fs/f2fs/data.c |2 ++ include/trace/events/f2fs.h | 15 +-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/data.c b/fs/f2f

[f2fs-dev] [PATCH 4/6] f2fs: add a tracepoint for f2fs_write_{meta, node, data}_pages

2014-05-06 Thread Chao Yu
This patch adds a tracepoint for f2fs_write_{meta,node,data}_pages to trace when pages are fsyncing/flushing. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c|2 ++ fs/f2fs/data.c |2 ++ fs/f2fs/node.c |2 ++ include/trace/events/f2fs.h | 64 +++

[f2fs-dev] [PATCH 3/6] f2fs: add a tracepoint for f2fs_write_{meta, node, data}_page

2014-05-06 Thread Chao Yu
This patch adds a tracepoint for f2fs_write_{meta,node,data}_page to trace when page is writting out. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c|2 ++ fs/f2fs/data.c |2 ++ fs/f2fs/node.c |2 ++ include/trace/events/f2fs.h |7 +++ 4 file

[f2fs-dev] [PATCH 2/6] f2fs: add a tracepoint for f2fs_write_end

2014-05-06 Thread Chao Yu
This patch adds a tracepoint for f2fs_write_end to trace write op of user. Signed-off-by: Chao Yu --- fs/f2fs/data.c |2 ++ include/trace/events/f2fs.h | 30 ++ 2 files changed, 32 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index cd

[f2fs-dev] [PATCH 1/6] f2fs: add a tracepoint for f2fs_write_begin

2014-05-06 Thread Chao Yu
This patch adds a tracepoint for f2fs_write_begin to trace write op of user. Signed-off-by: Chao Yu --- fs/f2fs/data.c |2 ++ include/trace/events/f2fs.h | 30 ++ 2 files changed, 32 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index