Re: [f2fs-dev] [PATCH] f2fs: forbid to do fstrim if fs has some error

2016-09-08 Thread heyunlei
On 2016/9/9 0:02, Chao Yu wrote: > On 2016/9/8 8:02, Jaegeuk Kim wrote: >> On Wed, Sep 07, 2016 at 09:24:31PM +0800, Chao Yu wrote: >>> Hi Yunlei, Hi all, >>> >>> On 2016/9/1 10:14, Yunlei He wrote: This patch skip fstrim if sbi set SBI_NEED_FSCK flag Signed-off-by: Yunlei He

Re: [f2fs-dev] [PATCH] f2fs: forbid to do fstrim if fs has some error

2016-09-08 Thread Chao Yu
On 2016/9/8 8:02, Jaegeuk Kim wrote: > On Wed, Sep 07, 2016 at 09:24:31PM +0800, Chao Yu wrote: >> Hi Yunlei, >> >> On 2016/9/1 10:14, Yunlei He wrote: >>> This patch skip fstrim if sbi set SBI_NEED_FSCK flag >>> >>> Signed-off-by: Yunlei He >>> --- >>> fs/f2fs/segment.c | 3 +++ >>> 1 file chang

Re: [f2fs-dev] [PATCH] f2fs: forbid to do fstrim if fs has some error

2016-09-07 Thread Jaegeuk Kim
On Wed, Sep 07, 2016 at 09:24:31PM +0800, Chao Yu wrote: > Hi Yunlei, > > On 2016/9/1 10:14, Yunlei He wrote: > > This patch skip fstrim if sbi set SBI_NEED_FSCK flag > > > > Signed-off-by: Yunlei He > > --- > > fs/f2fs/segment.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git

Re: [f2fs-dev] [PATCH] f2fs: forbid to do fstrim if fs has some error

2016-09-07 Thread Chao Yu
Hi Yunlei, On 2016/9/1 10:14, Yunlei He wrote: > This patch skip fstrim if sbi set SBI_NEED_FSCK flag > > Signed-off-by: Yunlei He > --- > fs/f2fs/segment.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c > index 93c5e26..1b62213 100644 > --- a

[f2fs-dev] [PATCH] f2fs: forbid to do fstrim if fs has some error

2016-08-31 Thread Yunlei He
This patch skip fstrim if sbi set SBI_NEED_FSCK flag Signed-off-by: Yunlei He --- fs/f2fs/segment.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 93c5e26..1b62213 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -1353,6 +1353,9 @@ int