Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp68797imm; Fri, 31 Aug 2018 17:36:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYyYj41tCrKIw88PW+d6fVJAtS9ymTfHyyXS0DC8tZ4k0Q+rAAXDwO0y3XEKzCPJd82/t1b X-Received: by 2002:a62:1192:: with SMTP id 18-v6mr18671339pfr.54.1535762196594; Fri, 31 Aug 2018 17:36:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535762196; cv=none; d=google.com; s=arc-20160816; b=TvnOOHizHI957PP/SpECJceC1sSESx+WA810ItILGtz1Mkg4N0NbF+w0k4DEWZU6ED OvHkNh2Uw9XZcQ1pJGkyU8rg08kLZcTgC56X0tzYZrJbC4/Aq2Bf257cLT0RWZydZL2+ qb/BfsQ9GuL/AHtRnTjINmVGazeRWp3tXRUZziye8MV7NEdjr4KLbJ9QqJ27AMNLM2WB VrsehXjNuUBnq3U8XYXsOBUGRzfJSySirFiy91T3hC7UeZg4NsWx6MDprkx3Embi6wLz OfVRJsfn7KMrg2e9nuqXDtqnZfbj+YZWcY1ZK56Iuq9+KsKCyn7DAKNZSeDQJ5kyZO0k br9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=KSYqO/7kLlYe8MN733EJtGY7cjl/cnw+tgVUdvuckTQ=; b=ArZ1XAU8K4MluQ/JtswC2fCkC3qh3fIJZrqF9PmziWnMUG9Ln7w5ytIa2vKi/HbSSS x3R1UrkMa7YhLthnNDSwI4Iw6Qw4zuqH30zJSJLssfd/slZS5PQzt6xXXs5Idm2JT+1T af/SsHNYzIixUMaRfkwzkG9zLZzBlM3GxIJ+iY3eJbHUgbus+H7sjbwfDeD6rVfsIavj 6t0itjfKDzUIPJlwx0k1drgUCHb0jo/cGyVzNdNKMSvNQ4g5sNk7luIyqvdSire/ZRqJ Tuq+FTdksGFYfFzgVBFFF4X4mzC4HLkaLbMTyq/GaGyavRaQyLFLEiYLnWKXEiqj9ENa 2uvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=BsbuMufJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f185-v6si11095077pgc.625.2018.08.31.17.36.21; Fri, 31 Aug 2018 17:36:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=BsbuMufJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727655AbeIAEpN (ORCPT + 99 others); Sat, 1 Sep 2018 00:45:13 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:38319 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbeIAEpN (ORCPT ); Sat, 1 Sep 2018 00:45:13 -0400 Received: by mail-pf1-f193.google.com with SMTP id x17-v6so6212720pfh.5; Fri, 31 Aug 2018 17:35:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KSYqO/7kLlYe8MN733EJtGY7cjl/cnw+tgVUdvuckTQ=; b=BsbuMufJxIsRMXpj9XFw2HJnBuLDt4UOdQk51T3VJRgZC9TNYc5DJnvUTKn1g6Wlje NwuZ15tvdagzj7fNPq1/ZvunhR4ClEwUSd7du2gc2iTPyDwBwBMneAp/Fglf1o4ulu96 qdajnd39WK6Tf8+iFaYPc/IwTc8jFd/56oAkzzYEpk8BX+yVlLYmT0WobC8PLnme2uN5 MucL8h8FJFvezVBZ0XICWfUeAqcelb+shkzp/ooHMDbdPCFiciqtc1wx2ru25NTsuHkO A+zN66aLgxgIayQAyl6heVVaWaDTv5nTbmTtvBZJPfw9JICBCdkXq0faG8xhNkCF3kSr 4K6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=KSYqO/7kLlYe8MN733EJtGY7cjl/cnw+tgVUdvuckTQ=; b=UgfdiBMJyEFTBXJFdn4DS+VsDIEyJ3wTRg4wudzFAhsSDjkSNntQQE+sYPURTcZa59 od4rDB9aDYff+tLUc3xsZg7/owjHVPUgynKvhJXD2G9szwOWvcohTTTFvrfPve4YUcai 0trqSfkIJybv4Fg8jafFvcfeHJOWiHd+CJITVVhgoeXxeNLHACYYwB5PHO+yPNicguG7 w7yWXEkhYQZ2GPnBv/mpOCex9VoCR7zRL9l7KAFAL9LmxMLl1BlWzRykcBhbHpR9ki6T d+Y763pkaA6bILZw8s15+DAkbat9AUiW8C/uphym5vm0ShBX3wHWEK7XGH8kvtmU8nBQ KZpA== X-Gm-Message-State: APzg51D3bs6S/F+BBIFgFXTI81J/dIELMgEpGfHRpi0oJMUHa7mCY+yN rN9MHWqWUPb7HvlYn5/8R3M= X-Received: by 2002:a62:7983:: with SMTP id u125-v6mr18288022pfc.177.1535762114165; Fri, 31 Aug 2018 17:35:14 -0700 (PDT) Received: from localhost ([2620:10d:c090:180::1:a245]) by smtp.gmail.com with ESMTPSA id z5-v6sm16375570pfh.83.2018.08.31.17.35.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Aug 2018 17:35:13 -0700 (PDT) Date: Fri, 31 Aug 2018 17:35:10 -0700 From: Tejun Heo To: Dennis Zhou Cc: Jens Axboe , Johannes Weiner , Josef Bacik , kernel-team@fb.com, linux-block@vger.kernel.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/15] blkcg ref count refactor/cleanup + blkcg avg_lat Message-ID: <20180901003510.GM1488037@devbig004.ftw2.facebook.com> References: <20180831015356.69796-1-dennisszhou@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180831015356.69796-1-dennisszhou@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, Aug 30, 2018 at 09:53:41PM -0400, Dennis Zhou wrote: > This is a fairly lengthy patchset that aims to cleanup reference > counting for blkcgs and blkgs. There are 4 problems that this patchset > tries to address: > 1. fix blkcg destruction > 2. always associate a bio with a blkg > 3. remove the extra css ref held by bios and utilize the blkg ref > 4. add average latency tracking to blkcg core in io.stat. 1 is already merged. Reviewed 2, 3 parts. Generally looks great. Let's try to address the found issues and get these two parts merged first. Thanks. -- tejun