Re: [PATCH 1/4] f2fs: reset iostat_count in f2fs_reset_iostat()

From: Chao Yu
Date: Wed Jan 11 2023 - 09:06:51 EST


On 2023/1/5 3:20, Jaegeuk Kim wrote:
Hi Yangtao,

These are all in dev-test branch, which means you don't need to stack up more
patches on top of it. I just integrated most of them into two original patches.
Could you please take a look at this?

c1706cc0cd72 f2fs: add iostat support for flush
acd6f525e01c f2fs: support accounting iostat count and avg_bytes

+#define IOSTAT_INFO_SHOW(name, type) \
+ seq_printf(seq, "%-23s %-16llu %-16llu %-16llu\n", \
+ name":", sbi->iostat_bytes[type], \
+ sbi->iostat_count[type], \
+ iostat_get_avg_bytes(sbi, type)) \

'\' doesn't align in column, otherwise it looks good to me.

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,