Re: Fix runtime of terse output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/22/2015 01:16 AM, shoichi.sawada@xxxxxxxxxxxxx wrote:
> Hi,
> 
> When I used fio with option of '--status-interval=1 --minimal' and 'random_distribution=zipf:1.2',
> 'runtime' of 2nd line was 18446744073709551345.
> This value is -271 in int_64.
> 
> This is because 'runtime' was subtracted in function '__show_running_run_stats'.
> If 'td->io_bytes' is 0 when this function was called,
> and 'td->io_bytes' is not 0 when '__show_run_stats' returned,
> 'runtime' is subtracted by 'rt' even though 'runtime' have not added.
> 
> I fixed the problem by applying this patch to fio-2.2.13.

Thanks, applied.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux