Re: [f2fs-dev] [PATCH 2/8] f2fs: simplify do_checkpoint

2023-01-29 Thread Chao Yu
On 2023/1/19 14:36, Christoph Hellwig wrote: For each loop add a local curseg_info pointer insted of looking it up for each of the three fields. Signed-off-by: Christoph Hellwig Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linu

[f2fs-dev] [PATCH 2/8] f2fs: simplify do_checkpoint

2023-01-18 Thread Christoph Hellwig
For each loop add a local curseg_info pointer insted of looking it up for each of the three fields. Signed-off-by: Christoph Hellwig --- fs/f2fs/checkpoint.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c i