Re: Re: [f2fs-dev][PATCH] f2fs: optimize fs_lock for better performance

2013-09-10 Thread Chao Yu
number, but just need to get any not-collided number. So, how about removing the spin_lock? And how about using a random number? Thanks, 2013-09-06 (?), 09:48 +, Chao Yu: Hi Kim: I think there is a performance problem: when all sbi-fs_lock is holded, then all other threads may get

[f2fs-dev][PATCH] f2fs: limit nr_iovecs in bio_alloc

2013-09-13 Thread Chao Yu
This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid to return NULL in bio_alloc caused by npages is larger than UIO_MAXIOV. Signed-off-by: Yu Chao chao2...@samsung.com --- fs/f2fs/segment.c |4 +++- fs/f2fs/segment.h |3 +++ 2 files changed, 6

RE: [f2fs-dev][PATCH] f2fs: limit nr_iovecs in bio_alloc

2013-09-13 Thread Chao Yu
-Original Message- From: Jin Xu [mailto:linuxclim...@gmail.com] Sent: Friday, September 13, 2013 7:49 PM To: Chao Yu Cc: ???; linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; 谭姝 Subject: Re: [f2fs-dev][PATCH] f2fs: limit nr_iovecs

[f2fs-dev] [PATCH] f2fs: avoid to use a NULL point in destroy_segment_manager

2013-11-05 Thread Chao Yu
A NULL point should avoid to be used in destroy_segment_manager after allocating memory fail for f2fs_sm_info. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/segment.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 3d4d5fc..ff363e6

RE: [f2fs-dev] [PATCH] f2fs: avoid to use a NULL point in destroy_segment_manager

2013-11-05 Thread Chao Yu
Hi Gu, -Original Message- From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] Sent: Wednesday, November 06, 2013 11:41 AM To: Chao Yu Cc: ???; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: Re: [f2fs-dev] [PATCH] f2fs

RE: [f2fs-dev] [PATCH] f2fs: avoid to use a NULL point in destroy_segment_manager

2013-11-05 Thread Chao Yu
Hi Gu, Thanks for your reviewing! Regards Yu -Original Message- From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] Sent: Wednesday, November 06, 2013 1:16 PM To: Chao Yu Cc: '???'; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net

[f2fs-dev] [PATCH] f2fs: fix memory leak after kobject init failed in fill_super

2013-11-06 Thread Chao Yu
If we failed to initadd kobject when fill_super, stats info and proc object of f2fs will not be released. We should free them before we finish fill_super. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/super.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff

[f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-13 Thread Chao Yu
This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid allocating failure in bio_alloc caused by npages is larger than UIO_MAXIOV. Signed-off-by: Yu Chao chao2...@samsung.com --- fs/f2fs/segment.c |4 +++- fs/f2fs/segment.h |3 +++ 2 files changed,

Re: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-15 Thread Chao Yu
Hi Gu -Original Message- From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] Sent: Monday, September 16, 2013 10:09 AM To: Chao Yu Cc: Kim Jaegeuk; linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; 谭姝 Subject: Re: [f2fs-dev][PATCH

RE: [f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-16 Thread Chao Yu
Hi Gu -Original Message- From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] Sent: Monday, September 16, 2013 12:40 PM To: Chao Yu Cc: 'Kim Jaegeuk'; linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; '谭姝' Subject: Re: [f2fs-dev][PATCH

[f2fs-dev] [PATCH] f2fs: readahead contiguous pages for restore_node_summary

2013-11-21 Thread Chao Yu
If cp has no CP_UMOUNT_FLAG, we will read all pages in whole node segment one by one, it makes low performance. So let's merge contiguous pages and readahead for better performance. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/node.c | 89

[f2fs-dev] [PATCH] f2fs: remove unneeded code in punch_hole

2013-11-22 Thread Chao Yu
Because FALLOC_FL_PUNCH_HOLE flag must be ORed with FALLOC_FL_KEEP_SIZE in fallocate, so we could remove the useless 'keep size' branch code which will never be excuted in punch_hole. Signed-off-by: Chao Yu chao2...@samsung.com Signed-off-by: Fan Li fanofcode...@samsung.com --- fs/f2fs/file.c

RE: [f2fs-dev] [PATCH V3 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-22 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Friday, November 22, 2013 5:11 PM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: Re: [f2fs-dev] [PATCH V3 2/2] f2fs

RE: [f2fs-dev] [PATCH 1/2] f2fs: adds a tracepoint for submit_read_page

2013-11-24 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Sunday, November 24, 2013 11:09 AM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: Re: [f2fs-dev] [PATCH 1/2] f2fs: adds

RE: [f2fs-dev] [PATCH V3 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-24 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Sunday, November 24, 2013 12:26 PM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: Re: [f2fs-dev] [PATCH V3 2/2] f2fs

RE: [f2fs-dev] [PATCH] f2fs: remove unneeded code in punch_hole

2013-11-26 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Wednesday, November 27, 2013 1:14 PM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝; fanofcode...@samsung.com Subject: Re: [f2fs

RE: [f2fs-dev] [PATCH] f2fs: readahead contiguous pages for restore_node_summary

2013-11-27 Thread Chao Yu
Hi Kim, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Wednesday, November 27, 2013 1:30 PM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: Re: [f2fs-dev] [PATCH] f2fs

RE: [f2fs-dev] [PATCH] f2fs: readahead contiguous pages for restore_node_summary

2013-11-27 Thread Chao Yu
Hi Kim, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Wednesday, November 27, 2013 4:19 PM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; '谭姝' Subject: RE: [f2fs-dev] [PATCH] f2fs

RE: [f2fs-dev] [PATCH] f2fs: readahead contiguous pages for restore_node_summary

2013-11-27 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Thursday, November 28, 2013 11:33 AM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; '谭姝' Subject: RE: [f2fs-dev] [PATCH] f2fs

[f2fs-dev] [PATCH 1/5] f2fs: correct type of wait in struct bio_private

2013-11-27 Thread Chao Yu
Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/segment.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index b84dd23..5f733ec 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h @@ -96,7 +96,7 @@ struct bio_private

[f2fs-dev] [PATCH 2/5] f2fs: add unlikely macro for compiler optimization

2013-11-27 Thread Chao Yu
Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/node.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 0fe9a97..954155b 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -1160,7 +1160,7 @@ int wait_on_node_pages_writeback

[f2fs-dev] [PATCH 3/5] f2fs: use true and false for boolean variable

2013-11-27 Thread Chao Yu
Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/node.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 954155b..daf8ee8 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -791,7 +791,7 @@ int truncate_xattr_node(struct inode

[f2fs-dev] [PATCH 5/5] f2fs: convert recover_orphan_inodes to void

2013-11-27 Thread Chao Yu
Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/checkpoint.c |6 +++--- fs/f2fs/f2fs.h |2 +- fs/f2fs/super.c |8 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 7fe69ff..b28e61b 100644

[f2fs-dev] [PATCH 4/5] f2fs: check return value of f2fs_readpage in find_data_page

2013-11-27 Thread Chao Yu
We should return error if we do not get an updated page in find_date_page when f2fs_readpage failed. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/data.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 2d02cf3..85071d6 100644 --- a/fs

[f2fs-dev] [PATCH] f2fs: avoid to calculate incorrect max orphan number

2013-11-29 Thread Chao Yu
Because we will write node summaries when do_checkpoint with umount flag, our number of max orphan blocks should minus NR_CURSEG_NODE_TYPE additional. Signed-off-by: Chao Yu chao2...@samsung.com Signed-off-by: Shu Tan shu@samsung.com --- fs/f2fs/checkpoint.c |7 --- 1 file changed, 4

RE: [f2fs-dev] [PATCH 2/5] f2fs: add unlikely macro for compiler optimization

2013-12-01 Thread Chao Yu
Hi Kim, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Friday, November 29, 2013 6:14 PM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: Re: [f2fs-dev] [PATCH 2/5] f2fs

RE: [f2fs-dev] [PATCH] f2fs: refactor bio-related operations

2013-12-01 Thread Chao Yu
Hi, Some comments as following. -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Saturday, November 30, 2013 2:26 PM Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: [f2fs-dev] [PATCH] f2fs:

RE: [f2fs-dev] [PATCH] f2fs: remove the own bi_private allocation

2013-12-01 Thread Chao Yu
Hi Kim, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Saturday, November 30, 2013 9:48 AM Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: [f2fs-dev] [PATCH] f2fs: remove the own

RE: [f2fs-dev] [PATCH] f2fs: remove the own bi_private allocation

2013-12-02 Thread Chao Yu
Hi Kim, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, December 02, 2013 4:15 PM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: RE: [f2fs-dev] [PATCH] f2fs

RE: [f2fs-dev] [PATCH v2] f2fs: refactor bio-related operations

2013-12-02 Thread Chao Yu
jaegeuk@samsung.com Reviewed-by: Chao Yu chao2...@samsung.com --- fs/f2fs/checkpoint.c| 14 +- fs/f2fs/data.c | 316 +--- fs/f2fs/f2fs.h | 12 +- fs/f2fs/gc.c| 2 +- fs/f2fs/node.c

[f2fs-dev] [PATCH 1/2] f2fs: add a new function to support for merging contiguous read

2013-11-11 Thread Chao Yu
For better read performance, we add a new function to support for merging contiguous read as the one for write. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/data.c | 45 + fs/f2fs/f2fs.h |2 ++ 2 files changed, 47 insertions(+) diff

[f2fs-dev] [PATCH 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-11 Thread Chao Yu
Previously we read sit entries page one by one, this method lost the chance of reading contiguous page together. So we read pages as contiguous as possible for better mount performance. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/f2fs.h|2 ++ fs/f2fs/segment.c | 65

RE: [f2fs-dev] [PATCH 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-13 Thread Chao Yu
Hi Gu, -Original Message- From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] Sent: Wednesday, November 13, 2013 11:39 AM To: Chao Yu Cc: ???; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: Re: [f2fs-dev] [PATCH 2/2

[f2fs-dev] [PATCH V2 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-15 Thread Chao Yu
mark_page_accessed () before release page to delay VM reclaiming them. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/segment.c | 108 - fs/f2fs/segment.h |2 + 2 files changed, 84 insertions(+), 26 deletions(-) diff --git a/fs/f2fs

[f2fs-dev] [PATCH V2 1/2] f2fs: add a new function to support for merging contiguous read

2013-11-15 Thread Chao Yu
For better read performance, we add a new function to support for merging contiguous read as the one for write. v1--v2: o add declarations here as Gu Zheng suggested. Signed-off-by: Chao Yu chao2...@samsung.com Acked-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/f2fs/data.c | 45

[f2fs-dev] [PATCH] f2fs: use f2fs_put_page to release page for uniform style

2013-11-15 Thread Chao Yu
We should use f2fs_put_page to release page for uniform style of f2fs code. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/data.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index aa3438c..076a60c 100644 --- a/fs/f2fs/data.c

RE: [f2fs-dev] [PATCH V2 1/2] f2fs: add a new function to support for merging contiguous read

2013-11-17 Thread Chao Yu
Hi Kim, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, November 18, 2013 8:29 AM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: Re: [f2fs-dev] [PATCH V2 1/2] f2fs

RE: [f2fs-dev] [PATCH 1/2] f2fs: clean up the do_submit_bio flow

2013-11-18 Thread Chao Yu
Hi -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, November 18, 2013 5:12 PM Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: [f2fs-dev] [PATCH 1/2] f2fs: clean up the do_submit_bio

RE: [f2fs-dev] [PATCH V2 1/2] f2fs: add a new function to support for merging contiguous read

2013-11-18 Thread Chao Yu
Hi -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, November 18, 2013 5:11 PM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; '谭姝' Subject: RE: [f2fs-dev] [PATCH V2 1/2] f2fs

[f2fs-dev] [PATCH] f2fs: split sbi-write_mutex for DATA/NODE/META to avoid unnecessary race

2013-11-18 Thread Chao Yu
All DATA/NODE/META bio buffers in superblock is protected by 'sbi-write_mutex', but each bio buffer area is independent, So we should split write_mutex to three for DATA/NODE/META. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/f2fs.h|2 +- fs/f2fs/segment.c |8

RE: [f2fs-dev] [PATCH] f2fs: split sbi-write_mutex for DATA/NODE/META to avoid unnecessary race

2013-11-18 Thread Chao Yu
Hi -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Tuesday, November 19, 2013 11:36 AM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH] f2fs: split sbi

RE: [f2fs-dev] [PATCH 1/2] f2fs: clean up the do_submit_bio flow

2013-11-18 Thread Chao Yu
Hi -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, November 18, 2013 5:12 PM Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: [f2fs-dev] [PATCH 1/2] f2fs: clean up the do_submit_bio

RE: [f2fs-dev] [PATCH V2 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-19 Thread Chao Yu
Hi Gu, -Original Message- From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] Sent: Monday, November 18, 2013 7:16 PM To: Chao Yu Cc: '???'; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: Re: [f2fs-dev] [PATCH V2 2/2

[f2fs-dev] [PATCH V2 2/2 RESEND] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-19 Thread Chao Yu
mark_page_accessed () before release page to delay VM reclaiming them. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/segment.c | 108 - fs/f2fs/segment.h |2 + 2 files changed, 84 insertions(+), 26 deletions(-) diff --git a/fs/f2fs

[f2fs-dev] [PATCH V2 1/2 RESEND] f2fs: add a new function to support for merging contiguous read

2013-11-19 Thread Chao Yu
For better read performance, we add a new function to support for merging contiguous read as the one for write. v1--v2: o add declarations here as Gu Zheng suggested. o use new structure f2fs_bio_info introduced by Jaegeuk Kim. Signed-off-by: Chao Yu chao2...@samsung.com Acked-by: Gu Zheng

RE: [f2fs-dev] [PATCH V2 1/2 RESEND] f2fs: add a new function to support for merging contiguous read

2013-11-19 Thread Chao Yu
Hi Kim, No considering 80 columns for the description, :( I will resend the patches. -Original Message- From: Chao Yu [mailto:chao2...@samsung.com] Sent: Wednesday, November 20, 2013 1:55 PM To: ??? (jaegeuk@samsung.com) Cc: 'linux-fsde...@vger.kernel.org'; 'linux-kernel

[f2fs-dev] [PATCH V2 1/2 RESEND] f2fs: add a new function to support for merging contiguous read

2013-11-19 Thread Chao Yu
For better read performance, we add a new function to support for merging contiguous read as the one for write. v1--v2: o add declarations here as Gu Zheng suggested. o use new structure f2fs_bio_info introduced by Jaegeuk Kim. Signed-off-by: Chao Yu chao2...@samsung.com Acked-by: Gu Zheng

[f2fs-dev] [PATCH V2 2/2 RESEND] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-19 Thread Chao Yu
mark_page_accessed() before release page to delay VM reclaiming them. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/segment.c | 108 - fs/f2fs/segment.h |2 + 2 files changed, 84 insertions(+), 26 deletions(-) diff --git a/fs/f2fs

[f2fs-dev] [PATCH 2/2] f2fs: adds a tracepoint for f2fs_submit_read_bio

2013-11-20 Thread Chao Yu
This patch adds a tracepoint for f2fs_submit_read_bio. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/data.c |2 ++ include/trace/events/f2fs.h | 27 +++ 2 files changed, 29 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index

[f2fs-dev] [PATCH 1/2] f2fs: adds a tracepoint for submit_read_page

2013-11-20 Thread Chao Yu
This patch adds a tracepoint for submit_read_page. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/data.c |1 + include/trace/events/f2fs.h | 30 ++ 2 files changed, 31 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index

RE: [f2fs-dev] [PATCH V2 2/2 RESEND] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-20 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Thursday, November 21, 2013 9:32 AM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: Re: [f2fs-dev] [PATCH V2 2/2 RESEND

RE: [f2fs-dev] [PATCH V2 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-20 Thread Chao Yu
Hi Gu, -Original Message- From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] Sent: Wednesday, November 20, 2013 5:38 PM To: Chao Yu Cc: '???'; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; '谭姝' Subject: Re: [f2fs-dev] [PATCH V2 2

RE: [f2fs-dev] [PATCH 0/2] f2fs: remove debufs dir if debugfs_create_file() failed

2013-12-02 Thread Chao Yu
Hi Liu, You're right, we should release it instead of holding the resource with no use. And here are some comments as following. BTW, your patch is out of format. You'd better not let remote terminal or editor to instead tab with blanks in the patch. Thanks, Yu -Original Message-

RE: [f2fs-dev] [PATCH v2] f2fs: refactor bio-related operations

2013-12-03 Thread Chao Yu
Hi, Comment as following. -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, December 02, 2013 4:27 PM To: linux-fsde...@vger.kernel.org Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH v2]

RE: [f2fs-dev] [PATCH v2] f2fs: refactor bio-related operations

2013-12-04 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Wednesday, December 04, 2013 4:11 PM To: Chao Yu Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; 谭姝 Subject: RE: [f2fs-dev] [PATCH v2] f2fs

[f2fs-dev] [PATCH 1/3] f2fs: use inner macro GFP_F2FS_ZERO for simplification

2013-12-04 Thread Chao Yu
Use inner macro GFP_F2FS_ZERO to instead of GFP_NOFS | __GFP_ZERO for simplification of code. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/node.c |2 +- fs/f2fs/recovery.c |2 +- fs/f2fs/super.c|2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git

[f2fs-dev] [PATCH 3/3] f2fs: introduce f2fs_cache_node_page() to add page into node_inode cache

2013-12-04 Thread Chao Yu
This patch introduces f2fs_cache_node_page(), in this function, page which is readed ahead will be copy to node_inode's mapping cache. It will avoid rereading these node pages. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/node.c | 30 ++ 1 file changed

[f2fs-dev] [PATCH 2/3] f2fs: avoid unneeded page release for correct _count of page

2013-12-04 Thread Chao Yu
a segment fault in put_page_testzero when CONFIG_DEBUG_VM is on, or return MM with a bad page with wrong _count num. So let's just release this page. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/recovery.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/fs/f2fs

RE: [f2fs-dev] [PATCH 3/3] f2fs: introduce f2fs_cache_node_page() to add page into node_inode cache

2013-12-04 Thread Chao Yu
-Original Message- From: Chao Yu [mailto:chao2...@samsung.com] Sent: Thursday, December 05, 2013 9:55 AM To: ??? Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: [f2fs-dev] [PATCH 3/3] f2fs: introduce

[f2fs-dev] [PATCH 2/5 V2] f2fs: add unlikely() macro for compiler optimization

2013-12-05 Thread Chao Yu
suggested by Jaegeuk Kim. Suggested-by: Jaegeuk Kim jaegeuk@samsung.com Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/checkpoint.c | 10 +- fs/f2fs/data.c |4 ++-- fs/f2fs/dir.c|4 ++-- fs/f2fs/f2fs.h |8 fs/f2fs/node.c | 16

RE: [f2fs-dev] [PATCH 3/3] f2fs: introduce f2fs_cache_node_page() to add page into node_inode cache

2013-12-05 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Friday, December 06, 2013 9:43 AM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: RE: [f2fs-dev] [PATCH 3/3] f2fs

RE: [f2fs-dev] [PATCH 2/5 V2] f2fs: add unlikely() macro for compiler optimization

2013-12-05 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Friday, December 06, 2013 12:12 PM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: Re: [f2fs-dev] [PATCH 2/5 V2] f2fs

RE: [PATCH] f2fs: add unlikely() macro for compiler more aggressively

2013-12-06 Thread Chao Yu
-Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Friday, December 06, 2013 2:15 PM Cc: Jaegeuk Kim; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; Chao Yu Subject: [PATCH] f2fs: add unlikely() macro

[f2fs-dev] [PATCH 3/3 V2] f2fs: introduce f2fs_cache_node_page() to add page into node_inode cache

2013-12-06 Thread Chao Yu
@samsung.com Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/node.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 099f06f..3ff98fa 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -1600,6 +1600,39 @@ static int

RE: [f2fs-dev] [PATCH 3/5] f2fs: format segment_info's show for better legibility

2014-03-13 Thread Chao Yu
512 512 512 512 512 512 512 512 512 512 512 512 331 278 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 512 512 512 512 512 512 512 512 512 512 512 512 512 0 512 512 512 512 512 512 1 0 512 So how about modifying code as following? Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com Reviewed-by: Chao Yu

RE: [f2fs-dev] [PATCH 3/5] f2fs: format segment_info's show for better legibility

2014-03-16 Thread Chao Yu
Hi Gu, -Original Message- From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] Sent: Thursday, March 13, 2014 5:58 PM To: Chao Yu Cc: 'Kim'; 'linux-kernel'; 'f2fs' Subject: Re: [f2fs-dev] [PATCH 3/5] f2fs: format segment_info's show for better legibility Hi, On 03/13/2014 05:13 PM

[f2fs-dev] [PATCH] f2fs: print type for each segment in segment_info's show

2014-03-16 Thread Chao Yu
|512 0|512 0|512 3|512 100 3|512 0|512 3|511 0|328 3|512 0|512 0|512 3|512 0|512 0|512 110 0|512 0|512 0|512 0|512 0|512 0|512 0|512 5|0 4|0 3|512 Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/super.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/fs

[f2fs-dev] [PATCH 1/2] f2fs: introduce f2fs_has_xattr_block for better readability

2014-03-17 Thread Chao Yu
This patch introduces a help function f2fs_has_xattr_block for better readability. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/f2fs.h |5 + fs/f2fs/node.c |4 ++-- fs/f2fs/node.h |2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs

[f2fs-dev] [PATCH 2/2] f2fs: avoid to return incorrect errno of read_normal_summaries

2014-03-17 Thread Chao Yu
We should return error number of read_normal_summaries instead of -EINVAL when read_normal_summaries failed. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/segment.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c

[f2fs-dev] [PATCH] f2fs: fix incorrect parsing with option string

2014-03-17 Thread Chao Yu
Previously 'background_gc={on***,off***}' is being parsed as correct option, with this patch we cloud fix the trivial bug in mount process. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/super.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/super.c b

RE: [f2fs-dev] [PATCH] f2fs: fix incorrect parsing with option string

2014-03-17 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Tuesday, March 18, 2014 8:33 AM To: Chao Yu Cc: linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [f2fs-dev] [PATCH] f2fs: fix incorrect

[f2fs-dev] [PATCH v2] f2fs: fix incorrect parsing with option string

2014-03-17 Thread Chao Yu
Previously 'background_gc={on***,off***}' is being parsed as correct option, with this patch we cloud fix the trivial bug in mount process. Change log from v1: o need to check length of parameter suggested by Jaegeuk Kim. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/super.c |4

[f2fs-dev] [PATCH] f2fs: readahead contiguous SSA blocks for f2fs_gc

2014-02-27 Thread Chao Yu
If there are multi segments in one section, we will read those SSA blocks which have contiguous address one by one in f2fs_gc. It may lost performance, let's read ahead SSA blocks by merge multi read request. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/checkpoint.c |6 -- fs

[f2fs-dev] [PATCH] f2fs: use existing macro to clean up some codes

2014-02-27 Thread Chao Yu
This patch use existing macro F2FS_INODE/NEXT_FREE_BLKADDR to clean up some codes. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/f2fs.h |6 ++ fs/f2fs/recovery.c |2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index

[f2fs-dev] [PATCH] f2fs: fix dirty page accounting when redirty

2014-02-27 Thread Chao Yu
). Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/checkpoint.c |1 + fs/f2fs/data.c |1 + fs/f2fs/node.c |1 + 3 files changed, 3 insertions(+) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index c8516ee..f069249 100644 --- a/fs/f2fs/checkpoint.c +++ b

RE: [f2fs-dev] [PATCH] f2fs: fix dirty page accounting when redirty

2014-02-28 Thread Chao Yu
Hi, -Original Message- From: Dave Chinner [mailto:da...@fromorbit.com] Sent: Saturday, March 01, 2014 8:27 AM To: Chao Yu Cc: ???; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH] f2fs: fix dirty

RE: [f2fs-dev] [PATCH 1/5] f2fs: update start nid only once each circle

2014-03-08 Thread Chao Yu
-by: Chao Yu chao2...@samsung.com --- fs/f2fs/node.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 8c14110..9653096 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -1875,11 +1875,15 @@ void destroy_node_manager(struct

RE: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-09 Thread Chao Yu
Reviewed-by: Chao Yu chao2...@samsung.com --- fs/f2fs/node.c| 44 fs/f2fs/segment.c |7 +-- 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 8787469..4b7861d 100644

RE: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly

2014-03-10 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, March 10, 2014 1:38 PM To: Chao Yu Cc: 'Gu Zheng'; 'linux-kernel'; 'f2fs' Subject: RE: [f2fs-dev] [PATCH 4/5] f2fs: optimize restore_node_summary slightly Hi, 2014-03-10 (월), 13:13 +0800

[f2fs-dev] [PATCH] f2fs: recover inline xattr data in roll-forward process

2014-03-10 Thread Chao Yu
Previously we do not recover inline xattr data of inode after power-cut, so inline xattr data may be lost. We should recover the data during the roll-forward process. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/node.c | 33 + 1 file changed, 33

[f2fs-dev] [PATCH] f2fs: introduce f2fs_has_inline_xattr for better readability

2014-03-12 Thread Chao Yu
This patch introduces a help function f2fs_has_inline_xattr for better readability. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/f2fs.h |9 +++-- fs/f2fs/node.c |2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index

[f2fs-dev] [PATCH] f2fs: check upper bound of ino value in f2fs_nfs_get_inode

2014-03-12 Thread Chao Yu
Upper bound checking of ino should be added to f2fs_nfs_get_inode, so unneeded process before do_read_inode in f2fs_iget could be avoided when ino is invalid. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/super.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/super.c

RE: [f2fs-dev] [PATCH 1/3] f2fs: move grabing orphan pages out of protection region

2014-01-10 Thread Chao Yu
of protection region, and grab all the orphan block pages ahead. Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com Reviewed-by: Chao Yu chao2...@samsung.com --- fs/f2fs/checkpoint.c | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/fs/f2fs/checkpoint.c b

[f2fs-dev] [PATCH 1/2] f2fs: avoid unnecessary bio submit when wait page writeback

2014-03-22 Thread Chao Yu
This patch introduce is_merged_page() to check whether current page is merged in f2fs bio cache. When page is not in cache, we can avoid submitting bio cache, resulting in having more chance to merge pages. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/data.c|8 fs

[f2fs-dev] [PATCH 2/2] f2fs: avoid unneeded lookup when xattr name length is too long

2014-03-22 Thread Chao Yu
In f2fs_setxattr we have limit this attribute name length, so we should also check it in f2fs_getxattr to avoid useless lookup caused by invalid name length. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/xattr.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/xattr.c b

[f2fs-dev] [PATCH] f2fs: fix calculating incorrect free size when update xattr in __f2fs_setxattr

2013-10-29 Thread Chao Yu
During xattr updating, free size should be corrected to remainder free size + old entry size. It can avoid ENOSPC error when we update old entry with the same size new entry at fully filled xattr. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/xattr.c |2 +- 1 file changed, 1

[f2fs-dev] [PATCH V2 RESEND] f2fs: check all ones or zeros bitmap with bitops for better mount performance

2013-10-29 Thread Chao Yu
-by: Chao Yu chao2...@samsung.com --- fs/f2fs/segment.h | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index abe7094..a7abfa8 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h @@ -550,8 +550,9 @@ static inline void

RE: [f2fs-dev] [PATCH V2 RESEND] f2fs: check all ones or zeros bitmap with bitops for better mount performance

2013-10-29 Thread Chao Yu
time. Could you test and compare the performance of two patches. -- 1.7.10.4 -Original Message- From: Changman Lee [mailto:cm224@samsung.com] Sent: Tuesday, October 29, 2013 3:36 PM To: 'Chao Yu'; jaegeuk@samsung.com Cc: linux-fsde...@vger.kernel.org; linux-kernel

RE: [f2fs-dev] [PATCH V2 RESEND] f2fs: check all ones or zeros bitmap with bitops for better mount performance

2013-10-29 Thread Chao Yu
Hi Lee, -Original Message- From: Changman Lee [mailto:cm224@samsung.com] Sent: Tuesday, October 29, 2013 3:36 PM To: 'Chao Yu'; jaegeuk@samsung.com Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: RE: [f2fs-dev

RE: [f2fs-dev] [PATCH V2 RESEND] f2fs: check all ones or zeros bitmap with bitops for better mount performance

2013-10-29 Thread Chao Yu
Hi Lee, -Original Message- From: Changman Lee [mailto:cm224@samsung.com] Sent: Wednesday, October 30, 2013 7:25 AM To: 'Chao Yu'; jaegeuk@samsung.com Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: RE: [f2fs

[f2fs-dev] [PATCH] f2fs: remove unnecessary TestClearPageError when wait pages writeback

2013-11-03 Thread Chao Yu
In wait_on_node_pages_writeback we will test and clear error flag for all pages in radix tree, but not necessary. So we only do this for pages belong to the specified inode. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/node.c |7 --- 1 file changed, 4 insertions(+), 3

[f2fs-dev] [PATCH] f2fs: check all ones or zeros bitmap with integer data type for better mount performance

2013-10-22 Thread Chao Yu
Previously, check_block_count check valid_map with bit data type in common scenario that sit has all ones or zeros bitmap, it makes low mount performance. So let's check the special bitmap with integer data type instead of the bit one. Signed-off-by: Tan Shu shu@samsung.com Signed-off-by: Yu

RE: [f2fs-dev] [PATCH] f2fs: check all ones or zeros bitmap with integer data type for better mount performance

2013-10-22 Thread Chao Yu
Hi, Kim: -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Tuesday, October 22, 2013 8:24 PM To: Chao Yu Cc: linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; 谭姝 Subject: Re: [f2fs-dev] [PATCH] f2fs: check

RE: [f2fs-dev] [PATCH] f2fs: check all ones or zeros bitmap with integer data type for better mount performance

2013-10-23 Thread Chao Yu
Hi Kim, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Wednesday, October 23, 2013 5:32 PM To: Chao Yu Cc: linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; '谭姝' Subject: RE: [f2fs-dev] [PATCH] f2fs

[f2fs-dev] [PATCH] f2fs: remove redundant set_page_dirty from write_compacted_summaries

2013-10-24 Thread Chao Yu
Previously, set_page_dirty is called every time after writting one summary info into compacted summary page, To avoid redundant set_page_dirty, we only call set_page_dirty before release page. Signed-off-by: Yu Chao chao2...@samsung.com --- fs/f2fs/segment.c |8 1 file changed, 4

[f2fs-dev] [PATCH V2] f2fs: check all ones or zeros bitmap with bitops for better mount performance

2013-10-24 Thread Chao Yu
Previously, check_block_count check valid_map with bit data type in common scenario that sit has all ones or zeros bitmap, it makes low mount performance. So let's check the special bitmap with integer data type instead of the bit one. v2: use find_next_bit_le/find_next_zero_bit_le for

RE: [f2fs-dev] [PATCH V2] f2fs: check all ones or zeros bitmap with bitops for better mount performance

2013-10-24 Thread Chao Yu
Hi Gu, -Original Message- From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] Sent: Thursday, October 24, 2013 6:04 PM To: Chao Yu Cc: jaegeuk@samsung.com; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; '谭姝' Subject: Re: [f2fs

RE: [f2fs-dev] [PATCH V2] f2fs: check all ones or zeros bitmap with bitops for better mount performance

2013-10-28 Thread Chao Yu
Hi Lee, -Original Message- From: 이창만 [mailto:cm224@samsung.com] Sent: Monday, October 28, 2013 10:20 AM To: 'Chao Yu'; jaegeuk@samsung.com Cc: linux-fsde...@vger.kernel.org; '谭姝'; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: RE: [f2fs-dev

[f2fs-dev] [PATCH] f2fs: avoid allocating failure in bio_alloc

2013-09-22 Thread Chao Yu
This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid allocating failure in bio_alloc caused by npages is larger than BIO_MAX_PAGES. Signed-off-by: Yu Chao chao2...@samsung.com --- fs/f2fs/segment.c |4 +++- fs/f2fs/segment.h |2 ++ 2 files changed,

[f2fs-dev] [PATCH] f2fs: remove unneeded write checkpoint in recover_fsync_data

2013-09-22 Thread Chao Yu
Previously, recover_fsync_data still to write checkpoint when there is nothing to recover with normal umount image. It may reduce mount performance and flash memory lifetime, so let's remove it. Signed-off-by: Tan Shu shu@samsung.com Signed-off-by: Yu Chao chao2...@samsung.com ---

  1   2   3   4   5   6   7   8   9   10   >