Re: [PATCH] f2fs: add iostat support for FS_DISCARD_IO

From: Jaegeuk Kim
Date: Mon Dec 12 2022 - 18:01:29 EST


Please check the previous comment.

On 12/12, Chao Yu wrote:
> On 2022/12/12 13:47, Yangtao Li wrote:
> > Just like other data we count uses the number of bytes as the basic
> > unit, but discard uses the number of cmds as the statistical unit. In
> > fact, the discard command contains the number of blocks. In order to
> > avoid breaking its usage of application, let's keeping FS_DISCARD
> > as it is, and add FS_DISCARD_IO to account discard bytes.
> >
> > Suggested-by: Chao Yu <chao@xxxxxxxxxx>
> > Signed-off-by: Yangtao Li <frank.li@xxxxxxxx>
>
> Reviewed-by: Chao Yu <chao@xxxxxxxxxx>
>
> Thanks,