Thread (6 messages) 6 messages, 3 authors, 2018-02-23

Re: [PATCH] blk-throttle: avoid multiple counting for same bio

From: Tejun Heo <tj@kernel.org>
Date: 2018-02-13 14:43:17
Also in: cgroups

On Tue, Feb 13, 2018 at 02:45:50PM +0800, Chengguang Xu wrote:
In current throttling/upper limit policy of blkio cgroup
blkio.throttle.io_service_bytes does not exactly represent
the number of bytes issued to the disk by the group, sometimes
this number could be counted multiple times of real bytes.
This fix introduces BIO_COUNTED flag to avoid multiple counting
for same bio.

Signed-off-by: Chengguang Xu <redacted>
We had a series of fixes / changes for this problem during the last
cycle.  Can you please see whether the current linus master has the
same problem.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help