Re: [f2fs-dev] [PATCH] f2fs: fix to force keeping write barrier for strict fsync mode

2020-02-04 Thread Chao Yu
On 2020/1/24 6:18, Jaegeuk Kim wrote: > On 01/20, Chao Yu wrote: >> If barrier is enabled, for strict fsync mode, we should force to >> use atomic write semantics to avoid data corruption due to no >> barrier support in lower device. >> >> Signed-off-by: Chao Yu >> --- >> fs/f2fs/file.c | 7 +

Re: [f2fs-dev] [PATCH] f2fs: fix to force keeping write barrier for strict fsync mode

2020-01-23 Thread Jaegeuk Kim
On 01/20, Chao Yu wrote: > If barrier is enabled, for strict fsync mode, we should force to > use atomic write semantics to avoid data corruption due to no > barrier support in lower device. > > Signed-off-by: Chao Yu > --- > fs/f2fs/file.c | 7 +++ > 1 file changed, 7 insertions(+) > > dif

[f2fs-dev] [PATCH] f2fs: fix to force keeping write barrier for strict fsync mode

2020-01-20 Thread Chao Yu
If barrier is enabled, for strict fsync mode, we should force to use atomic write semantics to avoid data corruption due to no barrier support in lower device. Signed-off-by: Chao Yu --- fs/f2fs/file.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c ind