Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752694AbbFYVjM (ORCPT ); Thu, 25 Jun 2015 17:39:12 -0400 Received: from mail-yk0-f178.google.com ([209.85.160.178]:34749 "EHLO mail-yk0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751421AbbFYVjA (ORCPT ); Thu, 25 Jun 2015 17:39:00 -0400 From: Tejun Heo To: axboe@kernel.dk Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, vgoyal@redhat.com, avanzini.arianna@gmail.com, kernel-team@fb.com Subject: [PATCHSET block/for-4.2/writeback] blkcg: blkcg stats cleanup Date: Thu, 25 Jun 2015 17:38:51 -0400 Message-Id: <1435268337-1738-1-git-send-email-tj@kernel.org> X-Mailer: git-send-email 2.4.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2202 Lines: 56 Hello, blkcg's stats have always been somwhat of a mess. This patchset tries to improve the situation a bit. * cfq-iosched implements custom recursive stats and blk-throttle implements custom per-cpu stats. This patchset make blkcg core support both by default. * cfq-iosched and blk-throttle keep track of the same stats multiple times. Unify them. Jens, as we're in the middle of the 4.2 merge window, I'll ping / repost this patchset along with other pending patchsets once -rc1 drops. This patchset contains the following six patches. 0001-cgroup-make-cftype-private-a-unsigned-long.patch 0002-blkcg-add-blkg_-rw-stat-aux_cnt-and-replace-cfq_grou.patch 0003-blkcg-make-blkcg_-rw-stat-per-cpu.patch 0004-blkcg-make-blkg_-rw-stat_recursive_sum-to-be-able-to.patch 0005-blkcg-move-io_service_bytes-and-io_serviced-stats-in.patch 0006-blkcg-remove-cfqg_stats-sectors.patch This patchset is also available in the following git branch. git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-blkcg-stats-cleanup and is on top of [1] block/for-4.2/writeback [2] [PATCHSET block/for-4.2/writeback] block, cgroup: make cfq charge async IOs to the appropriate blkcgs [3] [PATCHSET block/for-4.2/writeback] blkcg: blkcg_policy methods cleanup diffstat follows. Thanks. block/blk-cgroup.c | 175 ++++++++++++++++++++++++++++++++------ block/blk-core.c | 4 block/blk-throttle.c | 115 +------------------------ block/cfq-iosched.c | 204 +++++++++++++++++++++++---------------------- include/linux/blk-cgroup.h | 181 ++++++++++++++++++++++++++------------- include/linux/cgroup.h | 2 6 files changed, 385 insertions(+), 296 deletions(-) -- tejun [1] 5857cd637bc0 ("bdi: fix wrong error return value in cgwb_create()"). [2] http://lkml.kernel.org/g/1433753973-23684-1-git-send-email-tj@kernel.org [3] http://lkml.kernel.org/g/1435113853-12053-1-git-send-email-tj@kernel.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/