Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp983788ybi; Fri, 14 Jun 2019 06:43:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwr6sdQ8Om0nBiFIxROU2bP9HB7jkvqkQguq6z2WzGC5O+kUafJQPBkBYBMKKdivOmuFhrA X-Received: by 2002:a65:48c3:: with SMTP id o3mr36347206pgs.351.1560519826296; Fri, 14 Jun 2019 06:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560519826; cv=none; d=google.com; s=arc-20160816; b=b+VXdX9XE5nvjHjf9fhi2fgLSTtoGGgloIIZVAOx9uPK7C7ck4B0GYRonNU72MgNzw S4VWGW88nGsNXYh64OCO5VO25bzKGZUfcuP+27HR4uYzPrd8M0bElleTnxakJZhn0VPn lmQGk90a7V4evAaG2zgcEFlPFqLXfHWdz/85lOw69cS5siY4uBIjvnUNkC4O0Ov9KUpz lCYZM3RbdMdVV0J3gY3bA+PDVyYaLBeAqobo0+ilUaIT4HeGWc68myf9OFqEmOMF1Yqk +zZCd/p+SlzuIXFT9XaToZXL0PGOM2d74wdMLwbW3OaPqsxPrXba7XUS+psSlP/v9bXS LLpQ== 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; bh=ZR/EKmu5gWkoNUBhKpXkUDUjfp2N+yxxCefDqkXhc2k=; b=J2/J/g2TeUehM5JTsnKrV1cuy/J7lvlwZQbj/zmhWPqM8kGX244kSDiDHVGLZwT2XX 1aLS0UDL62gud4/QWLeUQx6FiW7hT1M25uZQRZQ9VBNpqfZVNmeD7Mwk1P9wgi8S5zUs GDp6wANdC/OeSac6a92T9s23jy6Xd1dCP9OzAzRSlGc8Oj+VAJ/ZxRgLnnp/x5qhbjGR fl/jD82hiLQiGDAWmS0WpihZR+9DW7K9b6Bafh3yNgjExwiHu0z20yye5pJUFEarBF4j 1yIzBMbR/60q0LiKQywNVmqS+1wHIvmCl7aWxptlJrOzlJ5TcWZrbOHb5RiYwoTfLoQu dYJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=gY8OMr7B; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si2192245plo.21.2019.06.14.06.43.31; Fri, 14 Jun 2019 06:43:46 -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=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=gY8OMr7B; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728472AbfFNNlV (ORCPT + 99 others); Fri, 14 Jun 2019 09:41:21 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:44587 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727918AbfFNNlV (ORCPT ); Fri, 14 Jun 2019 09:41:21 -0400 Received: by mail-qt1-f195.google.com with SMTP id x47so2433815qtk.11 for ; Fri, 14 Jun 2019 06:41:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ZR/EKmu5gWkoNUBhKpXkUDUjfp2N+yxxCefDqkXhc2k=; b=gY8OMr7BO35CDdoLUsDArY+W5z7EkRkN8AGq0dhi/gK6t+98bkfUbhJeUYUMBxtq+E g/Xqmry39VK37V6HcDuOlZVZdFScnNlI5fO22ZjQAxXKe8UxoQaTYQdYHu9NWssVJh09 oQKm2CnNGBnYzpdV/hzWHXwBLN0fD60gYqJER5Y1wmA5i+s/1pZ1w5+Vsa+6X/IEpVo4 4DwFbeGOWDMdnnUzU79UmAhVu8HCPM3pSWNcoxEciJpp2cxbWwhpvdVvy9nHYaBDyDXg ApDcHnYRFm/c0Vnxbt/lDNoUai9VByA89l35kZjTMomAM3HeFl5Cckoxu3XJbeh6ZuDO dfKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ZR/EKmu5gWkoNUBhKpXkUDUjfp2N+yxxCefDqkXhc2k=; b=jYuPJRVF66V8b8cf9rEUJQeC/8RpQEyw6bu7LK/hWb/I3rEg314A52WSX+x+x5hPaF quEuT06holFk88Mt1TgP9Zp0TFFQh5V/zug2x1qszeJJtr+LJpPol8s9+LfEVuC44pfZ fXa/Z7pldwkrJwEje7bkyZgPrnNYAYmw9Hpc1bnQcvSmipcYTbg5yXuXJ9904wj+oiD/ 4oNQr99SslKIIg5eXIYg/R4iJfLnBUsOnEs1o2ymNtR0ccpCziONeRatyHC9D+lXlNrM +j6lQ6shxj/DjDu/TKP6RZLhpLROYH0Cp1ncFTWpUgV9wKyME4ft0fcI8u3Yd3/f3xOu LjUg== X-Gm-Message-State: APjAAAUP4lfZkdOaoaT8i9gfwGpUPKy1ncAhYqN2HovJFyVySUkFZLUV 23LW5bUYLWTCpBF69mX459gocQ== X-Received: by 2002:ac8:2d19:: with SMTP id n25mr42440329qta.180.1560519680205; Fri, 14 Jun 2019 06:41:20 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::a658]) by smtp.gmail.com with ESMTPSA id p37sm1685047qtc.35.2019.06.14.06.41.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jun 2019 06:41:19 -0700 (PDT) Date: Fri, 14 Jun 2019 09:41:18 -0400 From: Josef Bacik To: Tejun Heo Cc: dsterba@suse.com, clm@fb.com, josef@toxicpanda.com, axboe@kernel.dk, jack@suse.cz, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 1/8] blkcg, writeback: Add wbc->no_wbc_acct Message-ID: <20190614134117.pngediuiim7ktcvi@MacBook-Pro-91.local> References: <20190614003350.1178444-1-tj@kernel.org> <20190614003350.1178444-2-tj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190614003350.1178444-2-tj@kernel.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 13, 2019 at 05:33:43PM -0700, Tejun Heo wrote: > When writeback IOs are bounced through async layers, the IOs should > only be accounted against the wbc from the original bdi writeback to > avoid confusing cgroup inode ownership arbitration. Add > wbc->no_wbc_acct to allow disabling wbc accounting. This will be used > make btfs compression work well with cgroup IO control. > > Signed-off-by: Tejun Heo Reviewed-by: Josef Bacik Thanks, Josef