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
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
-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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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-
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]
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
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
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
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
-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
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
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
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
-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
@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
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
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
|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
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
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
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
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
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
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
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
).
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
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
-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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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,
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 - 100 of 5204 matches
Mail list logo