Re: [PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-27 Thread Chao Yu
On 2020/6/24 23:55, Jaegeuk Kim wrote: > On 06/22, Chao Yu wrote: >> On 2020/6/22 0:38, Jaegeuk Kim wrote: >>> On 06/20, Chao Yu wrote: On 2020/6/20 6:47, Jaegeuk Kim wrote: > On 06/19, Chao Yu wrote: >> On 2020/6/19 13:49, Jaegeuk Kim wrote: >>> On 06/19, Chao Yu wrote: H

Re: [PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-24 Thread Jaegeuk Kim
On 06/22, Chao Yu wrote: > On 2020/6/22 0:38, Jaegeuk Kim wrote: > > On 06/20, Chao Yu wrote: > >> On 2020/6/20 6:47, Jaegeuk Kim wrote: > >>> On 06/19, Chao Yu wrote: > On 2020/6/19 13:49, Jaegeuk Kim wrote: > > On 06/19, Chao Yu wrote: > >> Hi Jaegeuk, > >> > >> On 2020/6/19

Re: [PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-21 Thread Chao Yu
On 2020/6/22 0:38, Jaegeuk Kim wrote: > On 06/20, Chao Yu wrote: >> On 2020/6/20 6:47, Jaegeuk Kim wrote: >>> On 06/19, Chao Yu wrote: On 2020/6/19 13:49, Jaegeuk Kim wrote: > On 06/19, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2020/6/19 7:59, Jaegeuk Kim wrote: >>> Hi Chao, >

Re: [PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-21 Thread Jaegeuk Kim
On 06/20, Chao Yu wrote: > On 2020/6/20 6:47, Jaegeuk Kim wrote: > > On 06/19, Chao Yu wrote: > >> On 2020/6/19 13:49, Jaegeuk Kim wrote: > >>> On 06/19, Chao Yu wrote: > Hi Jaegeuk, > > On 2020/6/19 7:59, Jaegeuk Kim wrote: > > Hi Chao, > > > > On 06/18, Chao Yu wrote: >

Re: [PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-19 Thread Chao Yu
On 2020/6/20 6:47, Jaegeuk Kim wrote: > On 06/19, Chao Yu wrote: >> On 2020/6/19 13:49, Jaegeuk Kim wrote: >>> On 06/19, Chao Yu wrote: Hi Jaegeuk, On 2020/6/19 7:59, Jaegeuk Kim wrote: > Hi Chao, > > On 06/18, Chao Yu wrote: >> to make page content stable for special

Re: [PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-19 Thread Jaegeuk Kim
On 06/19, Chao Yu wrote: > On 2020/6/19 13:49, Jaegeuk Kim wrote: > > On 06/19, Chao Yu wrote: > >> Hi Jaegeuk, > >> > >> On 2020/6/19 7:59, Jaegeuk Kim wrote: > >>> Hi Chao, > >>> > >>> On 06/18, Chao Yu wrote: > to make page content stable for special device like raid. > >>> > >>> Could you

Re: [PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-18 Thread Chao Yu
On 2020/6/19 13:49, Jaegeuk Kim wrote: > On 06/19, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2020/6/19 7:59, Jaegeuk Kim wrote: >>> Hi Chao, >>> >>> On 06/18, Chao Yu wrote: to make page content stable for special device like raid. >>> >>> Could you elaborate the problem a bit? >> >> Some devices

Re: [PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-18 Thread Jaegeuk Kim
On 06/19, Chao Yu wrote: > Hi Jaegeuk, > > On 2020/6/19 7:59, Jaegeuk Kim wrote: > > Hi Chao, > > > > On 06/18, Chao Yu wrote: > >> to make page content stable for special device like raid. > > > > Could you elaborate the problem a bit? > > Some devices like raid5 wants page content to be stabl

Re: [PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-18 Thread Chao Yu
Hi Jaegeuk, On 2020/6/19 7:59, Jaegeuk Kim wrote: > Hi Chao, > > On 06/18, Chao Yu wrote: >> to make page content stable for special device like raid. > > Could you elaborate the problem a bit? Some devices like raid5 wants page content to be stable, because it will calculate parity info based

Re: [PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-18 Thread Jaegeuk Kim
Hi Chao, On 06/18, Chao Yu wrote: > to make page content stable for special device like raid. Could you elaborate the problem a bit? > > Signed-off-by: Chao Yu > --- > fs/f2fs/dir.c | 2 ++ > fs/f2fs/extent_cache.c | 18 +- > fs/f2fs/f2fs.h | 2 +- > fs/f2fs

[PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-17 Thread Chao Yu
to make page content stable for special device like raid. Signed-off-by: Chao Yu --- fs/f2fs/dir.c | 2 ++ fs/f2fs/extent_cache.c | 18 +- fs/f2fs/f2fs.h | 2 +- fs/f2fs/file.c | 1 + fs/f2fs/inline.c | 2 ++ fs/f2fs/inode.c| 3 +-- 6 f