Re: [f2fs-dev] [PATCH 2/2 v2] f2fs: skip checkpoint if there is no dirty segments

2015-08-11 Thread Jaegeuk Kim
Change log from v1: - fix skipping gc incorrectly >From 06f90d3757a6b7ff524cc112168488f31bbf830f Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Tue, 11 Aug 2015 21:59:49 -0700 Subject: [PATCH] f2fs: skip checkpoint if there is no dirty and prefree segments We should avoid needless checkpoint

[f2fs-dev] [SPAM] Hello dear...

2015-08-11 Thread Laura
Hi' from Laura, I hope you are fine. My name is Miss. Mariam Laura Kone, I am 19 years old. I am presently in Bouake. It is a French speaking country. I am an orphan. I look forward to a steady and loving relationship with you, despite the d istance from us, love has no boundary and if we have a

[f2fs-dev] [PATCH] f2fs: avoid a build warning

2015-08-11 Thread Jaegeuk Kim
If F2FS_CHECK_FS is turned off, we can get a build warning for unused variable. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index d0bd952..b6e4ed1 100644 --- a/fs/f2fs/segment.

[f2fs-dev] [PATCH] f2fs: do not write any node pages related to orphan inodes

2015-08-11 Thread Jaegeuk Kim
We should not write node pages when deleting orphan inodes. In order to do that, we can eaisly set POR_DOING flag earlier before entering orphan inode routine. Signed-off-by: Jaegeuk Kim --- fs/f2fs/recovery.c | 3 --- fs/f2fs/super.c| 6 +- 2 files changed, 5 insertions(+), 4 deletions(

Re: [f2fs-dev] [PATCH 3/4] f2fs: handle error of f2fs_iget correctly

2015-08-11 Thread Jaegeuk Kim
On Tue, Aug 11, 2015 at 06:42:19PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Tuesday, August 11, 2015 3:32 AM > > To: Chao Yu > > Cc: linux-f2fs-devel@lists.sourceforge.net; linux-ker...@vger.kernel.org; > > lin

[f2fs-dev] [PATCH] f2fs: do not assing a new segment for dio under space shortage

2015-08-11 Thread Jaegeuk Kim
If there is not enough free segment, we should not assign a new segment explicitly. Otherwise, we can run out of free segment. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 7d53cb

Re: [f2fs-dev] [PATCH 3/4] f2fs: handle error of f2fs_iget correctly

2015-08-11 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, August 11, 2015 3:32 AM > To: Chao Yu > Cc: linux-f2fs-devel@lists.sourceforge.net; linux-ker...@vger.kernel.org; > linux-fsde...@vger.kernel.org > Subject: Re: [PATCH 3/4] f2fs: handle error

Re: [f2fs-dev] f2fs for SMR drives

2015-08-11 Thread Chao Yu
> -Original Message- > From: Marc Lehmann [mailto:schm...@schmorp.de] > Sent: Monday, August 10, 2015 9:06 PM > To: Chao Yu > Cc: Jaegeuk Kim; linux-f2fs-devel@lists.sourceforge.net > Subject: Re: [f2fs-dev] f2fs for SMR drives > > On Mon, Aug 10, 2015 at 06:20:40PM +0800, Chao Yu > wrot