Re: [f2fs-dev] [PATCH] f2fs: fix to avoid breaking fsync node chain

2023-06-27 Thread Chunhai Guo via Linux-f2fs-devel
Please ignore this patch. Sorry that I make a mistake. 720037f939fa ("f2fs: don't overwrite node block by SSR") has fixed this issue aleady. On 2023/6/26 22:02, 郭纯海 wrote: The fsync node chain can break when a node block is used, freed and reused in the chain. To avoid this, all blocks in the c

[f2fs-dev] [PATCH] f2fs: fix to avoid breaking fsync node chain

2023-06-26 Thread Chunhai Guo via Linux-f2fs-devel
The fsync node chain can break when a node block is used, freed and reused in the chain. To avoid this, all blocks in the chain should be recorded and not reused before the next checkpoint. However, this approach may require too many resources. Instead, this patch records all related segments in a