Re: [PATCH] workqueue: update IO counters promptly after handling IO

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

 



On 11/26/18 9:15 AM, vincentfu@xxxxxxxxx wrote:
> From: Vincent Fu <vincent.fu@xxxxxxx>
> 
> Currently, IO submit worker threads only update parent IO counters when
> the threads are idle or when the threads exit. When offload fio jobs are
> assigned a restrictive CPU mask, this results in reporting and logging
> problems. This patch updates parent IO counters more promptly upon
> completing each IO which resolves the reporting and logging problems.
> 
> In the output below, notice the missing read data direction output in
> the first, simple job and how it appropriately appears after the patch
> is applied. In the second job with logging, notice the missing log
> entries (unequal file sizes) in the first log and how entries are no
> longer missing for the run with the patch applied.

Looks good, thanks, applied.

-- 
Jens Axboe




[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