Re: [f2fs-dev] [LKP] [lkp] [f2fs] ec795418c4: fsmark.files_per_sec -36.3% regression

2016-08-26 Thread Fengguang Wu
Hi Jaegeuk, >> >> > - [lkp] [f2fs] b93f771286: aim7.jobs-per-min -81.2% regression >> >> > >> >> > The disk is 4 12G ram disk, and setup RAID0 on them via mdadm. The >> >> > steps for aim7 is, >> >> > >> >> > cat > workfile <> >> > FILESIZE: 1M >> >> > POOLSIZE: 10M >> >> > 10 sync_disk_rw >> >>

Re: [f2fs-dev] [PATCH] f2fs: fix to set superblock dirty correctly

2016-08-26 Thread heyunlei
Hi all, On 2016/8/27 9:01, Jaegeuk Kim wrote: > On Fri, Aug 26, 2016 at 10:20:18PM +0800, Chao Yu wrote: >> From: Chao Yu >> >> tests/generic/251 of fstest suit complains us with below message: >> >> [ cut here ] >> invalid opcode: [#1] PREEMPT SMP >> CPU: 2 PID: 7698

Re: [f2fs-dev] video archive on a microSD card

2016-08-26 Thread Jaegeuk Kim
On Thu, Aug 25, 2016 at 11:14:03PM +0300, Alexander Gordeev wrote: > Hi Jaegeuk, > > Thanks for all the help! > > 24.08.2016, 00:12, "Jaegeuk Kim" : > > On Mon, Aug 22, 2016 at 11:52:12PM +0300, Alexander Gordeev wrote: > >>  Hi, > >> > >>  I ran the test over weekend and I think I have some inte

Re: [f2fs-dev] video archive on a microSD card

2016-08-26 Thread Jaegeuk Kim
Hi Alexander, On Fri, Aug 26, 2016 at 07:04:28PM +0300, Alexander Gordeev wrote: > Hi Jaegeuk, > > 24.08.2016, 00:27, "Jaegeuk Kim" : > > Hi, > > > > This is caused by no free segment to write data or node blocks. > > In both of cases, have you tried file defragmentation? > > I'd like to know whe

Re: [f2fs-dev] [PATCH] f2fs: fix to set superblock dirty correctly

2016-08-26 Thread Jaegeuk Kim
On Fri, Aug 26, 2016 at 10:20:18PM +0800, Chao Yu wrote: > From: Chao Yu > > tests/generic/251 of fstest suit complains us with below message: > > [ cut here ] > invalid opcode: [#1] PREEMPT SMP > CPU: 2 PID: 7698 Comm: fstrim Tainted: G O4.7.0+ #21 > t

[f2fs-dev] [PATCH] f2fs: merge WRITE bio into previous WRITE_SYNC

2016-08-26 Thread Jaegeuk Kim
This can avoid bio splits due to different op_flags. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 7c8e219..c7c2022 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -267,6 +267,11 @@ void f2fs_submi

Re: [f2fs-dev] [LKP] [lkp] [f2fs] ec795418c4: fsmark.files_per_sec -36.3% regression

2016-08-26 Thread Jaegeuk Kim
On Wed, Aug 24, 2016 at 09:51:11AM -0700, huang ying wrote: > Hi, Jaegeuk, > > On Thu, Aug 11, 2016 at 6:22 PM, Jaegeuk Kim wrote: > > On Thu, Aug 11, 2016 at 03:49:41PM -0700, Huang, Ying wrote: > >> Hi, Kim, > >> > >> "Huang, Ying" writes: > >> >> > >> >> [lkp] [f2fs] 3bdad3c7ee: aim7.jobs-per

Re: [f2fs-dev] [PATCH] f2fs: add noinline_dentry mount option

2016-08-26 Thread Jaegeuk Kim
Hi Chao, I integrated this patch into the original patch which makes inline_dentry by default. And, I couldn't find any bug case from my test-cases. :) Thanks, On Fri, Aug 26, 2016 at 09:01:22AM +0800, Chao Yu wrote: > This patch adds noinline_dentry mount option. > > Signed-off-by: Chao Yu >

Re: [f2fs-dev] [PATCH 2/2] f2fs: fix to update node page under cp_rwsem

2016-08-26 Thread Jaegeuk Kim
On Sat, Aug 27, 2016 at 12:14:32AM +0800, Chao Yu wrote: > From: Chao Yu > > Update node page under cp_rwsem in order to keep data consistency > during writting checkpoint. > > Signed-off-by: Chao Yu > --- > fs/f2fs/inode.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff

[f2fs-dev] [PATCH 2/2] f2fs: fix to update node page under cp_rwsem

2016-08-26 Thread Chao Yu
From: Chao Yu Update node page under cp_rwsem in order to keep data consistency during writting checkpoint. Signed-off-by: Chao Yu --- fs/f2fs/inode.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c index 9ac5efc..1057c73 100644 --- a/f

[f2fs-dev] [PATCH 1/2] f2fs: do in batch synchronously readahead during GC

2016-08-26 Thread Chao Yu
From: Chao Yu In order to enhance performance, we try to readahead node page during GC, but before loading node page we should get block address of node page which is stored in NAT table, so synchronously read of single NAT page block our readahead flow. f2fs_submit_page_bio: dev = (251,0), ino

Re: [f2fs-dev] video archive on a microSD card

2016-08-26 Thread Alexander Gordeev
Hi Jaegeuk, 24.08.2016, 00:27, "Jaegeuk Kim" : > Hi, > > This is caused by no free segment to write data or node blocks. > In both of cases, have you tried file defragmentation? > I'd like to know whether this bug happens in normal cases as well. Just got this after my main process, that writes t

[f2fs-dev] [PATCH] f2fs: fix to set superblock dirty correctly

2016-08-26 Thread Chao Yu
From: Chao Yu tests/generic/251 of fstest suit complains us with below message: [ cut here ] invalid opcode: [#1] PREEMPT SMP CPU: 2 PID: 7698 Comm: fstrim Tainted: G O4.7.0+ #21 task: e9f4e000 task.stack: e7262000 EIP: 0060:[] EFLAGS: 00010202 CPU: 2 E