summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorXunlei Pang <xlpang@linux.alibaba.com>2021-03-05 16:13:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-30 14:31:48 +0200
commit71b996c9b883313be4320954c902e84031399fd9 (patch)
treee1cae39b87b517cf36f3649063c9b8c61e0c5d5b /.clang-format
parentb171748b7953c6d9344c68e21cbcb1e7ba154bf3 (diff)
blk-cgroup: Fix the recursive blkg rwstat
[ Upstream commit 4f44657d74873735e93a50eb25014721a66aac19 ] The current blkio.throttle.io_service_bytes_recursive doesn't work correctly. As an example, for the following blkcg hierarchy: (Made 1GB READ in test1, 512MB READ in test2) test / \ test1 test2 $ head -n 1 test/test1/blkio.throttle.io_service_bytes_recursive 8:0 Read 1073684480 $ head -n 1 test/test2/blkio.throttle.io_service_bytes_recursive 8:0 Read 537448448 $ head -n 1 test/blkio.throttle.io_service_bytes_recursive 8:0 Read 537448448 Clearly, above data of "test" reflects "test2" not "test1"+"test2". Do the correct summary in blkg_rwstat_recursive_sum(). Signed-off-by: Xunlei Pang <xlpang@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions