Re: [f2fs-dev] [PATCH 2/2] f2fs: stop all the operations by cp_error flag

2017-11-05 Thread Jaegeuk Kim
On 11/05, Chao Yu wrote: > Hi Jaegeuk, > > On 2017/10/24 17:51, Chao Yu wrote: > > On 2017/10/24 6:14, Jaegeuk Kim wrote: > >> This patch replaces to use cp_error flag instead of RDONLY for quota off. > > We should convert error number with block_page_mkwrite_return in > .page_mkwrite, > otherwi

Re: [f2fs-dev] [PATCH 2/2] f2fs: stop all the operations by cp_error flag

2017-11-04 Thread Chao Yu
Hi Jaegeuk, On 2017/10/24 17:51, Chao Yu wrote: > On 2017/10/24 6:14, Jaegeuk Kim wrote: >> This patch replaces to use cp_error flag instead of RDONLY for quota off. We should convert error number with block_page_mkwrite_return in .page_mkwrite, otherwise generic/019 will cause a deadlock issue w

Re: [f2fs-dev] [PATCH 2/2] f2fs: stop all the operations by cp_error flag

2017-10-24 Thread Chao Yu
On 2017/10/24 6:14, Jaegeuk Kim wrote: > This patch replaces to use cp_error flag instead of RDONLY for quota off. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks, > --- > fs/f2fs/acl.c| 3 +++ > fs/f2fs/checkpoint.c | 1 - > fs/f2fs/file.c | 23 +++