On 1/16/21 12:52 PM, HongweiQin wrote: > In the current implementation, should_check_rate() returns false > if ddir_rw_sum(td->bytes_done)==0. Therefore, a thread may violate > the rate if iodepth*bs > rate. > > This patch addresses the issue by not checking td->bytes_done in should_check_rate. Much better, thanks. I have applied it. -- Jens Axboe