Fix to get the right IO bandwidth
PATCH 1/1 Fix to get the right IO bandwidth
Signed-off-by Jaegeuk Kim <[email protected]>
--- tools/f2fs_io/f2fs_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/f2fs_io/f2fs_io.c +1 -1
@@ -1093,7 +1093,7 @@ static void do_read(int argc, char **argv, const struct cmd_desc *cmd)printf ("Read %" PRIu64" bytes total_time = %" PRIu64" us, BW = %.Lf MB/s, " "IO time = %" PRIu64" us, mlock time = %" PRIu64" us, print %u bytes:\n" , read_cnt,get_current_us () - io_time_start, - ((long double )read_cnt / (get_current_us () - io_time_start)), + ((long double )read_cnt / (io_time_end - io_time_start)), io_time_end - io_time_start, mlock_time_end - mlock_time_start, print_bytes);
Signature · 8 lines
2.52.0.305.g3fc767764a-goog _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
Quoted 1 line · On 12/12/25 08:14, Jaegeuk Kim via Linux-f2fs-devel wrote:
Signed-off-by Jaegeuk Kim <[email protected]>
Reviewed-by Chao Yu <[email protected]>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel