[f2fs-dev] 回复: [PATCH v2] f2fs-tools: introduce set_node_footer to initialize node footer

2020-06-19 Thread Zac via Linux-f2fs-devel
> On 2020/6/19 14:37, zhaowu...@wingtech.com wrote: > > From: Wuyun Zhao > > > > the filesystem will use the cold flag, so deal with it to avoid > > potential issue of inconsistency > > > > Signed-off-by: Wuyun Zhao > > --- > > fsck/dir.c | 6 +- > > fsck/node.c| 9 +---

[f2fs-dev] 回复: [PATCH] f2fs-tools: set cold flag for non-dir node

2020-06-18 Thread Zac via Linux-f2fs-devel
> On 2020/6/18 20:48, zhaowu...@wingtech.com wrote: > > From: Wuyun Zhao > > Thanks for the patch. :) > > Please add commit message here. OK > > > > Signed-off-by: Wuyun Zhao > > --- > > fsck/dir.c | 1 + > > fsck/node.c | 1 + > > fsck/node.h | 11 +++ > > 3 files changed, 13 ins

[f2fs-dev] 回复: 回复: 回复: [PATCH] f2fs: fix a race condition between f2fs_write_end_io and f2fs_del_fsync_node_entry

2020-06-18 Thread Zac via Linux-f2fs-devel
> On 2020/6/18 11:28, Zac wrote: > >> On 2020/6/18 10:39, Zac wrote: > >>> > On 2020/6/17 17:04, zhaowu...@wingtech.com wrote: > > From: Wuyun Zhao > > > > Under some condition, the __write_node_page will submit a page > which > >> is > not > > f2fs_in_warm_node_list and

[f2fs-dev] 回复: 回复: [PATCH] f2fs: fix a race condition between f2fs_write_end_io and f2fs_del_fsync_node_entry

2020-06-17 Thread Zac via Linux-f2fs-devel
> On 2020/6/18 10:39, Zac wrote: > > > >> On 2020/6/17 17:04, zhaowu...@wingtech.com wrote: > >>> From: Wuyun Zhao > >>> > >>> Under some condition, the __write_node_page will submit a page which > is > >> not > >>> f2fs_in_warm_node_list and will not call f2fs_add_fsync_node_entry. > >>> f2fs_gc

[f2fs-dev] 回复: [PATCH] f2fs: fix a race condition between f2fs_write_end_io and f2fs_del_fsync_node_entry

2020-06-17 Thread Zac via Linux-f2fs-devel
> On 2020/6/17 17:04, zhaowu...@wingtech.com wrote: > > From: Wuyun Zhao > > > > Under some condition, the __write_node_page will submit a page which is > not > > f2fs_in_warm_node_list and will not call f2fs_add_fsync_node_entry. > > f2fs_gc continue to run to invoke f2fs_iget -> do_read_inode