Re: [f2fs-dev] [PATCH v2] f2fs: stop issue discard if something wrong with f2fs

2018-04-09 Thread heyunlei
>-Original Message- >From: Yuchao (T) >Sent: Monday, April 09, 2018 7:05 PM >To: heyunlei; jaeg...@kernel.org; linux-f2fs-devel@lists.sourceforge.net >Cc: Wangbintian; Zhangdianfang (Euler) >Subject: Re: [f2fs-dev][PATCH v2] f2fs: stop issue discard if something wrong

Re: [f2fs-dev] [PATCH v2] f2fs: stop issue discard if something wrong with f2fs

2018-04-09 Thread Chao Yu
On 2018/4/9 11:54, Yunlei He wrote: > This patch stop discard thread to issue discard io if > something wrong with f2fs, which is similar to fstrim. > > v1->v2: add fs error check in not only discard thread but also umount process > > Signed-off-by: Yunlei He > --- > fs/f2fs/segment.c | 7 +

[f2fs-dev] [PATCH v2] f2fs: stop issue discard if something wrong with f2fs

2018-04-08 Thread Yunlei He
This patch stop discard thread to issue discard io if something wrong with f2fs, which is similar to fstrim. v1->v2: add fs error check in not only discard thread but also umount process Signed-off-by: Yunlei He --- fs/f2fs/segment.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-)