Re: [f2fs-dev] [PATCH 1/2 v3] f2fs: fix wrong calculation of block age

2023-02-05 Thread patchwork-bot+f2fs
Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Thu, 2 Feb 2023 16:20:27 +0800 you wrote: > Currently we wrongly calculate the new block age to > old * LAST_AGE_WEIGHT / 100. > > Fix it to new * (100 - LAST_AGE_WEIGHT) / 100 > + old * LAST_AGE_WEIGHT

Re: [f2fs-dev] [PATCH 1/2 v3] f2fs: fix wrong calculation of block age

2023-02-02 Thread Chao Yu
On 2023/2/2 16:20, qixiaoyu1 wrote: Currently we wrongly calculate the new block age to old * LAST_AGE_WEIGHT / 100. Fix it to new * (100 - LAST_AGE_WEIGHT) / 100 + old * LAST_AGE_WEIGHT / 100. Signed-off-by: qixiaoyu1 Signed-off-by: xiongping1 Reviewed-by: Chao Yu Thanks

[f2fs-dev] [PATCH 1/2 v3] f2fs: fix wrong calculation of block age

2023-02-02 Thread qixiaoyu1
Currently we wrongly calculate the new block age to old * LAST_AGE_WEIGHT / 100. Fix it to new * (100 - LAST_AGE_WEIGHT) / 100 + old * LAST_AGE_WEIGHT / 100. Signed-off-by: qixiaoyu1 Signed-off-by: xiongping1 --- Change log v1 -> v2: - fix udiv Change log v2 -> v3: - keep the