diff options
author | 2022-12-05 22:56:03 +0800 | |
---|---|---|
committer | 2022-12-12 14:59:38 -0800 | |
commit | 15e38ee44d50cad264da80ef75626b9224ddc4a3 (patch) | |
tree | 886fbbcb3b4ed72b1613090bb539cfa9cf90b824 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f2fs: Fix spelling mistake in label: free_bio_enrty_cache -> free_bio_entry_cache (diff) | |
download | wireguard-linux-15e38ee44d50cad264da80ef75626b9224ddc4a3.tar.xz wireguard-linux-15e38ee44d50cad264da80ef75626b9224ddc4a3.zip |
f2fs: fix iostat parameter for discard
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, so let's change to the
number of bytes as the base unit.
Fixes: b0af6d491a6b ("f2fs: add app/fs io stat")
Signed-off-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions