Signed-off-by: qixiaoyu1
---
Documentation/ABI/testing/sysfs-fs-f2fs | 5 +
fs/f2fs/extent_cache.c | 11 +++
fs/f2fs/f2fs.h | 1 +
fs/f2fs/sysfs.c | 11 +++
4 files changed, 24 insertions(+), 4 deletions(-)
d
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
---
fs/f2fs/extent_cache.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --gi
Hi Yangtao,
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url:
https://github.com/intel-lab-lkp/linux/commits/Yangtao-Li/f2fs-use-iostat_lat_type-directly-as-a-parameter-in-the-iostat_update_and_unbind_ctx/20230105-122414
base: https://git.kernel.org/pub/scm/linux/kernel
This code would be a lot more readable if it had fewer goto's.
The goto out's are ok but the again and add_more are easily
eliminated.
Two possibilities...
On 1/12/2023 12:19 PM, Vishal Moola wrote:
On Wed, Jan 4, 2023 at 1:15 PM Vishal Moola (Oracle)
wrote:
This is in preparation for the re